Skip to content
This repository was archived by the owner on Jun 22, 2023. It is now read-only.

Commit ecff4ec

Browse files
committed
update example
1 parent 778ccf5 commit ecff4ec

File tree

3 files changed

+224
-132
lines changed

3 files changed

+224
-132
lines changed

example/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"clean": "rm -f index.js index.d.ts person.d.ts"
1010
},
1111
"dependencies": {
12-
"@types/node": "^11.10.4",
13-
"typescript": "3.3.3333",
14-
"json-schema-to-typescript": "6.1.1"
12+
"@types/node": "^13.13.4",
13+
"typescript": "3.8.3",
14+
"json-schema-to-typescript": "9.0.0"
1515
},
1616
"repository": {
1717
"type": "git",

example/person.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ export interface Person {
1313
*/
1414
age?: number;
1515
hairColor?: "black" | "brown" | "blue";
16-
[k: string]: any;
16+
[k: string]: unknown;
1717
}

0 commit comments

Comments
 (0)