@adeira/js
Advanced tools
Comparing version 1.1.0 to 1.2.0
# Unreleased | ||
# 1.2.0 | ||
- New basic TS types for `isBrowser`, `isNumeric`, `isObject`, `isObjectEmpty` and `sprintf`. | ||
# 1.1.0 | ||
- New basic TS types for `invariant`, `warning` and `nullthrows`. |
@@ -9,5 +9,5 @@ { | ||
"private": false, | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"sideEffects": false, | ||
"dependencies": {} | ||
} |
declare module '@adeira/js' { | ||
export function invariant( | ||
condition: boolean, | ||
format: string, | ||
...args: ReadonlyArray<mixed> | ||
): void; | ||
export function invariant(condition: boolean, format: string, ...args: ReadonlyArray<any>): void; | ||
export function nullthrows<T>(x?: T | null, message?: string): void; | ||
export function isBrowser(): boolean; | ||
export function invariant( | ||
condition: boolean, | ||
format: string, | ||
...args: ReadonlyArray<mixed> | ||
): void; | ||
export function isNumeric(value: any): boolean; | ||
export function isObject(value: any): boolean; | ||
export function isObjectEmpty(value: any): boolean; | ||
export function nullthrows<T>(x?: T | null, message?: string): void; | ||
export function sprintf(format: string, ...args: ReadonlyArray<any>): void; | ||
export function warning(condition: boolean, format: string, ...args: ReadonlyArray<any>): void; | ||
} |
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
31272
418