kwant-ui 3.43.1-alpha.0 → 3.43.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kwant-ui",
3
- "version": "3.43.1-alpha.0",
3
+ "version": "3.43.1-alpha.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",
@@ -76,7 +76,7 @@ const isArrayEmpty = <T>(array: Array<T>) => array.length === 0;
76
76
  const getLastItem = <T>(array: Array<T>) => array[array.length - 1];
77
77
 
78
78
  function debounce<T extends (...args: any[]) => void>(func: T, delay: number) {
79
- let timeoutId: NodeJS.Timeout | null = null;
79
+ let timeoutId: NodeJS.Timeout;
80
80
 
81
81
  return (...args: Parameters<T>) => {
82
82
  clearTimeout(timeoutId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kwant-ui",
3
- "version": "3.43.1-alpha.0",
3
+ "version": "3.43.1-alpha.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",
package/utils/index.ts CHANGED
@@ -76,7 +76,7 @@ const isArrayEmpty = <T>(array: Array<T>) => array.length === 0;
76
76
  const getLastItem = <T>(array: Array<T>) => array[array.length - 1];
77
77
 
78
78
  function debounce<T extends (...args: any[]) => void>(func: T, delay: number) {
79
- let timeoutId: NodeJS.Timeout | null = null;
79
+ let timeoutId: NodeJS.Timeout;
80
80
 
81
81
  return (...args: Parameters<T>) => {
82
82
  clearTimeout(timeoutId);