Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit e4b471b

Browse files
chore: update @types/estree to v0.0.44 (#849)
1 parent 79bbc9c commit e4b471b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@compodoc/compodoc": "1.1.11",
6262
"@types/acorn": "^4.0.2",
6363
"@types/console-log-level": "^1.4.0",
64-
"@types/estree": "0.0.42",
64+
"@types/estree": "0.0.44",
6565
"@types/extend": "^3.0.0",
6666
"@types/lodash.pickby": "^4.6.4",
6767
"@types/mkdirp": "^1.0.0",

src/agent/util/validator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function isValid(node: estree.Node): boolean {
8080
case 'ObjectExpression':
8181
// every property is a valid expression
8282
return node.properties.every(prop => {
83-
return isValid(prop.value);
83+
return isValid((prop as {value: estree.Node}).value);
8484
});
8585

8686
case 'SequenceExpression':

0 commit comments

Comments
 (0)