@lntvow/utils 1.8.17 → 1.8.21

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/index.d.ts CHANGED
@@ -63,30 +63,6 @@ export declare const hasChanged: (oldValue: unknown, newValue: unknown) => boole
63
63
 
64
64
  export declare const hasOwn: <T extends object, U extends keyof T>(target: T, key: U) => boolean;
65
65
 
66
- /**
67
- * @description 初始化
68
- * @param options 初始化配置
69
- */
70
- declare function initConsole(options?: InitConsoleOptions): void;
71
-
72
- declare interface InitConsoleOptions {
73
- /**
74
- * @description 缓存的key
75
- * @default LNTVOW_CONSOLE
76
- */
77
- name?: string;
78
- /**
79
- * @description 显示console的时间 单位s
80
- * @default 3600 一个小时
81
- */
82
- time?: number;
83
- /**
84
- * @description 显示console的事件触发次数
85
- * @default 20
86
- */
87
- count?: number;
88
- }
89
-
90
66
  export declare const isArray: (arg: any) => arg is any[];
91
67
 
92
68
  export declare function isBoolean(val: unknown): val is boolean;
@@ -184,11 +160,6 @@ export declare function isUppercaseOrNumbersOrUnderline(value: string): boolean;
184
160
 
185
161
  export declare const log: (...arg: unknown[]) => void;
186
162
 
187
- export declare const nConsole: {
188
- initConsole: typeof initConsole;
189
- showConsole: typeof showConsole;
190
- };
191
-
192
163
  export declare const objectToString: () => string;
193
164
 
194
165
  declare interface Options {
@@ -199,11 +170,6 @@ declare interface Options {
199
170
  isDeepClone: boolean;
200
171
  }
201
172
 
202
- /**
203
- * @description 触发显示事件
204
- */
205
- declare function showConsole(): void;
206
-
207
173
  /**
208
174
  * @description 节流函数
209
175
  * @param target 目标函数