Skip to content

Commit 8a10fee

Browse files
Merge pull request #8 from acro5piano/master
fix: support TypeScript's isolated modules
2 parents f79ba5c + 801e009 commit 8a10fee

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/delegate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ interface Delegate<Runtime> {
4949
logError?(error: Error): void
5050
}
5151

52-
export {
52+
export type {
5353
Delegate,
5454
}

src/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ function cleanup(handler: (signal: SignalOrExitCode) => Promise<void>): void {
8282
process.removeListener('beforeExit', handler)
8383
}
8484

85+
export type {
86+
Delegate,
87+
}
88+
8589
export {
8690
heimdall,
87-
Delegate,
8891
}

0 commit comments

Comments
 (0)