Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alloc/types

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alloc/types - npm Package Compare versions

Comparing version 1.3.0 to 2.0.0

5

index.d.ts

@@ -1,6 +0,1 @@

export * from './react'
/** @deprecated For solving generic types */
export type Solve<T> = T
/** Try to simplify `&` out of an object type */

@@ -7,0 +2,0 @@ export type Remap<T> = {} & {

4

package.json
{
"name": "@alloc/types",
"version": "1.3.0",
"version": "2.0.0",
"types": "index.d.ts",

@@ -10,3 +10,3 @@ "files": [

"devDependencies": {
"@types/react": "^16.9.14",
"@types/react": "^17.0.3",
"prettier": "^1.19.1",

@@ -13,0 +13,0 @@ "typescript": "^3.6.0"

@@ -5,2 +5,7 @@ # @alloc/types

```ts
import { Lookup } from '@alloc/types'
import { ElementType } from '@alloc/types/react'
```
### Basic

@@ -7,0 +12,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc