diff --git a/packages/abstract-send/fast-decode-uri-component.d.ts b/packages/abstract-send/fast-decode-uri-component.d.ts index ce0fae73..27261c06 100644 --- a/packages/abstract-send/fast-decode-uri-component.d.ts +++ b/packages/abstract-send/fast-decode-uri-component.d.ts @@ -1,3 +1,4 @@ declare module 'fast-decode-uri-component' { - export default (path: string): string | undefined + function decode(path: string): string | undefined + export default decode } diff --git a/packages/abstract-send/tsconfig.cjs.json b/packages/abstract-send/tsconfig.cjs.json index 97d519dc..853a53ae 100644 --- a/packages/abstract-send/tsconfig.cjs.json +++ b/packages/abstract-send/tsconfig.cjs.json @@ -3,5 +3,5 @@ "compilerOptions": { "outDir": "lib" }, - "include": ["lib/**/*"] + "include": ["lib/**/*", "fast-decode-uri-component.d.ts"] } diff --git a/packages/abstract-send/tsconfig.mjs.json b/packages/abstract-send/tsconfig.mjs.json index c119ce6b..07bbdb96 100644 --- a/packages/abstract-send/tsconfig.mjs.json +++ b/packages/abstract-send/tsconfig.mjs.json @@ -4,7 +4,7 @@ "module": "ESNext", "outDir": "lib/mjs" }, - "include": ["lib/**/*"], + "include": ["lib/**/*", "fast-decode-uri-component.d.ts"], "tsc-alias": { "resolveFullPaths": true }