@appnest/lit-util
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -5,1 +5,2 @@ export * from "./decorator"; | ||
export * from "./constant"; | ||
export * from "./test"; |
@@ -5,2 +5,3 @@ export * from "./decorator"; | ||
export * from "./constant"; | ||
export * from "./test"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@appnest/lit-util", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Appnest", |
/** | ||
* Remove all children from a container. | ||
* https://stackoverflow.com/questions/3955229/remove-all-child-elements-of-a-dom-node-in-javascript | ||
* @param $container | ||
*/ | ||
export declare function removeChildren($container: any): void; | ||
export declare function removeChildren($container: HTMLElement): void; |
/** | ||
* Remove all children from a container. | ||
* https://stackoverflow.com/questions/3955229/remove-all-child-elements-of-a-dom-node-in-javascript | ||
* @param $container | ||
@@ -5,0 +4,0 @@ */ |
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
export declare function camelToDash(text: any): any; | ||
export declare function camelToDash(text: string): string; | ||
/** | ||
@@ -11,3 +11,3 @@ * Returns an array with unique items. | ||
*/ | ||
export declare function uniqueArray(arr: any): any; | ||
export declare function uniqueArray<T>(arr: T[]): T[]; | ||
/** | ||
@@ -19,7 +19,7 @@ * Returns a value clamped in between a min and a max value (inclusive). | ||
*/ | ||
export declare function clamp(value: any, min: any, max: any): number; | ||
export declare function clamp(value: number, min: number, max: number): number; | ||
/** | ||
* Copies the array. | ||
*/ | ||
export declare function copyArray(arr: any): any[]; | ||
export declare function copyArray<T>(arr: T[]): T[]; | ||
/** | ||
@@ -29,2 +29,2 @@ * Waits a specifies amount of time. | ||
*/ | ||
export declare function wait(ms: any): Promise<{}>; | ||
export declare function wait(ms: number): Promise<void>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
36145
50
672