Skip to content

Commit

Permalink
feat: add TS definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed May 16, 2023
1 parent 8c8e051 commit 015fd8c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -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<typeof pirates.addHook>;
export function defaultHooks(): void;

0 comments on commit 015fd8c

Please sign in to comment.