From 3a94acf27ea1eff8bd1125450f07c0c366332e80 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 17 Oct 2021 20:08:04 +0200 Subject: Initial commit --- node_modules/filelist/index.d.ts | 54 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 node_modules/filelist/index.d.ts (limited to 'node_modules/filelist/index.d.ts') diff --git a/node_modules/filelist/index.d.ts b/node_modules/filelist/index.d.ts new file mode 100644 index 0000000..dbf6dc5 --- /dev/null +++ b/node_modules/filelist/index.d.ts @@ -0,0 +1,54 @@ +// Type definitions for filelist v0.0.6 +// Project: https://github.com/mde/filelist +// Definitions by: Christophe MASSOLIN +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare module "filelist" { + export class FileList { + pendingAdd: string[] + pending: boolean + excludes: { + pats: RegExp[], + funcs: Function[], + regex: null | RegExp + } + items: string[] + static clone(): FileList + static verbose: boolean + toArray(): string[] + include(options: any, ...items: string[]): void + exclude(...items: string[]): void + resolve(): void + clearInclusions(): void + clearExclusions(): void + length(): number + toString(): string; + toLocaleString(): string; + push(...items: string[]): number; + pop(): string | undefined; + concat(...items: ReadonlyArray[]): string[]; + concat(...items: (string | ReadonlyArray)[]): string[]; + join(separator?: string): string; + reverse(): string[]; + shift(): string | undefined; + slice(start?: number, end?: number): string[]; + sort(compareFn?: (a: string, b: string) => number): this; + splice(start: number, deleteCount?: number): string[]; + splice(start: number, deleteCount: number, ...items: string[]): string[]; + unshift(...items: string[]): number; + indexOf(searchElement: string, fromIndex?: number): number; + lastIndexOf(searchElement: string, fromIndex?: number): number; + every(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): boolean; + some(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): boolean; + forEach(callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any): void; + map(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any): U[]; + filter(callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; + filter(callbackfn: (value: string, index: number, array: string[]) => any, thisArg?: any): string[]; + reduce(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; + reduce(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; + reduce(callbackfn: (previousValue: U, currentValue: string, currentIndex: number, array: string[]) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; + reduceRight(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; + reduceRight(callbackfn: (previousValue: U, currentValue: string, currentIndex: number, array: string[]) => U, initialValue: U): U; + } +} \ No newline at end of file -- cgit