diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..5243e4b --- /dev/null +++ b/index.d.ts @@ -0,0 +1,8 @@ +import type * as pirates from 'pirates'; +import type * as sucrase from 'sucrase'; + +export function addHook( + extension: string, + options?: sucrase.Options, +): ReturnType; +export function defaultHooks(): void;