diff --git a/sdk/core/abort-controller/package.json b/sdk/core/abort-controller/package.json index adfc22920c52..dd2933959e83 100644 --- a/sdk/core/abort-controller/package.json +++ b/sdk/core/abort-controller/package.json @@ -38,6 +38,7 @@ "files": [ "dist/", "dist-esm/src/", + "shims-public.d.ts", "types/abort-controller.d.ts", "README.md", "LICENSE" diff --git a/sdk/core/abort-controller/src/shims-public.d.ts b/sdk/core/abort-controller/shims-public.d.ts similarity index 100% rename from sdk/core/abort-controller/src/shims-public.d.ts rename to sdk/core/abort-controller/shims-public.d.ts diff --git a/sdk/core/abort-controller/src/AbortSignal.ts b/sdk/core/abort-controller/src/AbortSignal.ts index 7894842ecced..4c15c3e60bc3 100644 --- a/sdk/core/abort-controller/src/AbortSignal.ts +++ b/sdk/core/abort-controller/src/AbortSignal.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. // eslint-disable-next-line @typescript-eslint/triple-slash-reference -/// +/// type AbortEventListener = (this: AbortSignalLike, ev?: any) => any; const listenersMap = new WeakMap();