Skip to content

Commit

Permalink
Merge pull request #917 from krisselden/improve-heimdall-type
Browse files Browse the repository at this point in the history
Improve Heimdall Types
  • Loading branch information
ef4 authored Aug 5, 2021
2 parents 6a9b464 + d3e82e2 commit 24e4446
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions types/heimdalljs/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
declare module 'heimdalljs' {
export default any
}
export interface HeimdallOptions {
name: string;
}
export interface HeimdallNode {
remove(): void;
}
export interface HeimdallCookie {
stop(): void;
}
const heimdall: {
current: HeimdallNode;
start(HeimdallOptions): HeimdallCookie;
};
export default heimdall;
}

0 comments on commit 24e4446

Please sign in to comment.