Skip to content

Commit 4cee3e9

Browse files
committed
vscode: more type safety
1 parent eff1b3f commit 4cee3e9

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

editors/code/package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,18 @@
7373
"type": "string"
7474
},
7575
"args": {
76-
"type": "array"
76+
"type": "array",
77+
"items": {
78+
"type": "string"
79+
}
7780
},
7881
"env": {
79-
"type": "object"
82+
"type": "object",
83+
"patternProperties": {
84+
".+": {
85+
"type": "string"
86+
}
87+
}
8088
}
8189
}
8290
}

0 commit comments

Comments
 (0)