@cloudflare/types
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.0.13](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/types@1.0.12...@cloudflare/types@1.0.13) (2019-03-11) | ||
**Note:** Version bump only for package @cloudflare/types | ||
## [1.0.12](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/types@1.0.11...@cloudflare/types@1.0.12) (2019-03-11) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@cloudflare/types", | ||
"description": "", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"types": "./src", | ||
@@ -23,3 +23,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "99dbd9ce9ca2555cef675ac777c2ff02a94ea769" | ||
"gitHead": "11a1ff11e37f9955100906e38ba9355c4181bab1" | ||
} |
@@ -29,1 +29,11 @@ // (A - keys of B) | ||
export type ValueOf<T> = T[keyof T]; | ||
/** | ||
* Arguments<Fn>: Get type of arguments of a function. | ||
* @example | ||
* type Fn = (foo: string, bar: number) => void | ||
* type FnArguments = Arguments<Fn> // [string, number] | ||
*/ | ||
export type Arguments<F extends Function> = F extends (...args: infer A) => any | ||
? A | ||
: never; |
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
20144
656