@alloc/types
Advanced tools
Comparing version 1.3.0 to 2.0.0
@@ -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> = {} & { |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4981
29
84