Add node_modules

This commit is contained in:
Clarence Chan committed 2023-09-13 16:03:14 -04:00
1 parent 1df571f777
commit c01615d999
530 files changed
+38186

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
export interface Cache {
set(key: string, value: any): value
get(key: string): any
clear(): void
}
export interface Expr {
setConfig(config: { contentSecurityPolicy: boolean }): void
Cache: {
new (maxSize: number): Cache
}
split(path: string): string[]
setter(path: string): (data: any, value: any) => any
getter(path: string, safe?: boolean): (data: any) => any
join(segments: string[]): string
forEach(
path: string | string[],
callback: (
part: string,
isBracket: boolean,
isArray: boolean,
idx: number,
parts: string[]
) => any
): void
}
declare const expr: Expr
export = expr