diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-08-30 17:21:18 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-08-30 17:21:18 +0800 |
| commit | efbc2ffe6a1ee5ec38a4396305561d6515d0943e (patch) | |
| tree | 2b4c94f18f2c792dfda813050755d5c0273fae22 /node_modules/escalade/sync | |
| parent | 43acceb75957c880a5ba5a31aae221394a36d5f6 (diff) | |
node fixes, updates
Diffstat (limited to 'node_modules/escalade/sync')
| -rw-r--r-- | node_modules/escalade/sync/index.d.mts | 9 | ||||
| -rw-r--r-- | node_modules/escalade/sync/index.d.ts | 15 |
2 files changed, 22 insertions, 2 deletions
diff --git a/node_modules/escalade/sync/index.d.mts b/node_modules/escalade/sync/index.d.mts new file mode 100644 index 00000000..c023d37b --- /dev/null +++ b/node_modules/escalade/sync/index.d.mts @@ -0,0 +1,9 @@ +export type Callback = ( + directory: string, + files: string[], +) => string | false | void; + +export default function ( + directory: string, + callback: Callback, +): string | void; diff --git a/node_modules/escalade/sync/index.d.ts b/node_modules/escalade/sync/index.d.ts index 746ddd39..9d5b5890 100644 --- a/node_modules/escalade/sync/index.d.ts +++ b/node_modules/escalade/sync/index.d.ts @@ -1,2 +1,13 @@ -export type Callback = (directory: string, files: string[]) => string | false | void; -export default function (directory: string, callback: Callback): string | void; +declare namespace escalade { + export type Callback = ( + directory: string, + files: string[], + ) => string | false | void; +} + +declare function escalade( + directory: string, + callback: escalade.Callback, +): string | void; + +export = escalade; |
