@types/adeira__js
Advanced tools
Comparing version 1.2.0 to 2.1.0
@@ -1,10 +0,10 @@ | ||
// Type definitions for @adeira/js 1.2 | ||
// Type definitions for @adeira/js 2.1 | ||
// Project: https://github.com/adeira/universe/tree/master/src/js | ||
// Definitions by: Martin Zlámal <https://github.com/mrtnzlml> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// Minimum TypeScript Version: 3.4 | ||
// Minimum TypeScript Version: 3.7 | ||
type Maybe<T> = null | undefined | T; | ||
export function invariant(condition: boolean, format: string, ...args: ReadonlyArray<any>): void; | ||
export function invariant(condition: boolean, format: string, ...args: ReadonlyArray<any>): asserts condition; | ||
@@ -25,2 +25,4 @@ export function isBrowser(): boolean; | ||
export function rangeMap<T>(n: number, fn: (i: number) => T): ReadonlyArray<T>; | ||
export {}; |
{ | ||
"name": "@types/adeira__js", | ||
"version": "1.2.0", | ||
"version": "2.1.0", | ||
"description": "TypeScript definitions for @adeira/js", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/adeira__js", | ||
"license": "MIT", | ||
@@ -22,4 +23,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "4762089e5e3d9b3284f42cfb0477c42bb01cf401741809133c05bcce9d277507", | ||
"typeScriptVersion": "3.4" | ||
"typesPublisherContentHash": "f8e868eccb6962617ec5ff3eaae37179b5ae8114e75b4baeba610e50ea1b0130", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -9,5 +9,36 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/adeira__js. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/adeira__js/index.d.ts) | ||
````ts | ||
// Type definitions for @adeira/js 2.1 | ||
// Project: https://github.com/adeira/universe/tree/master/src/js | ||
// Definitions by: Martin Zlámal <https://github.com/mrtnzlml> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// Minimum TypeScript Version: 3.7 | ||
type Maybe<T> = null | undefined | T; | ||
export function invariant(condition: boolean, format: string, ...args: ReadonlyArray<any>): asserts condition; | ||
export function isBrowser(): boolean; | ||
export function isNumeric(value: any): boolean; | ||
export function isObject(value: any): boolean; | ||
export function isObjectEmpty(value: any): boolean; | ||
export function nullthrows<T>(x: Maybe<T>, message?: string): T extends null | undefined ? never : T; | ||
export function sprintf(format: string, ...args: ReadonlyArray<any>): string; | ||
export function warning(condition: boolean, format: string, ...args: ReadonlyArray<any>): void; | ||
export function rangeMap<T>(n: number, fn: (i: number) => T): ReadonlyArray<T>; | ||
export {}; | ||
```` | ||
### Additional Details | ||
* Last updated: Mon, 12 Oct 2020 18:52:28 GMT | ||
* Last updated: Sat, 03 Jul 2021 14:31:17 GMT | ||
* Dependencies: none | ||
@@ -14,0 +45,0 @@ * Global values: none |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4551
16
0
48