Skip to content

Commit ad969d9

Browse files
author
Ian Tan
committed
fix(): fix type declarations
1 parent 9bee411 commit ad969d9

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

typings/json.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module '*.json' {
2+
var exported: any;
3+
export = exported;
4+
}

typings/window.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import Zilliqa from '../src/zilliqa';
2+
3+
declare global {
4+
interface Window {
5+
Zilliqa: typeof Zilliqa;
6+
}
7+
}

0 commit comments

Comments
 (0)