From 9f8f0b67e2310550c3c9818458cb08646661537e Mon Sep 17 00:00:00 2001 From: Bert De Block Date: Tue, 24 Dec 2024 13:18:04 +0100 Subject: [PATCH] Add declaration file --- index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..6fe0bf4 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,8 @@ +export default function setupDeprecationWorkflow(config: { + throwOnUnhandled: boolean; + workflow: { + handler: 'log' | 'silence' | 'throw'; + matchId: string; + matchMessage: string; + }[]; +}): void;