feat: Add TypeScript definitions (#9693)

This commit is contained in:
Diamond Lewis
2025-04-15 06:59:58 -05:00
committed by GitHub
parent 39ef22d5c9
commit e86718fc59
19 changed files with 1482 additions and 36 deletions

View File

@@ -0,0 +1,5 @@
// TODO: Remove when @parse/fs-files-adapter is typed
declare module '@parse/fs-files-adapter' {
const FileSystemAdapter: any;
export default FileSystemAdapter;
}

5
types/@types/deepcopy/index.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
// TODO: Remove when https://github.com/sasaplus1/deepcopy.js/issues/278 is fixed
declare type Customizer = (value: any, valueType: string) => unknown;
declare type Options = Customizer | { customizer: Customizer };
declare function deepcopy<T>(value: T, options?: Options): T;
export default deepcopy;