Skip to content

Commit 96e31fe

Browse files
committed
Fix URL typing issue #109
1 parent 684feef commit 96e31fe

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
]
6262
},
6363
"dependencies": {
64+
"@types/node": "12.7.8",
6465
"graphql-type-json": "0.3.0"
6566
}
6667
}

src/mocks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ export const USCurrency = () => 1000;
4949
export const JSON = () => ({});
5050
export const JSONObject = () => ({});
5151

52+
import { URL } from 'url';
53+
5254
export {
5355
URLMock as URL,
5456
NonNegativeInt as UnsignedInt,

0 commit comments

Comments
 (0)