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

Commit 0bc315f

Browse files
chore(deps): update dependency @types/estree to v0.0.48 (#966)
1 parent 90499ae commit 0bc315f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@compodoc/compodoc": "1.1.11",
6363
"@types/acorn": "^4.0.2",
6464
"@types/console-log-level": "^1.4.0",
65-
"@types/estree": "0.0.45",
65+
"@types/estree": "0.0.48",
6666
"@types/extend": "^3.0.0",
6767
"@types/mocha": "^8.0.0",
6868
"@types/mv": "^2.1.0",

src/agent/util/validator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import * as estree from 'estree';
2323
* @param {Object} node AST Node (as per the Mozilla Parser API)
2424
* @return {boolean} if the exper
2525
*/
26-
export function isValid(node: estree.Node): boolean {
26+
export function isValid(node: estree.Node | null): boolean {
2727
// Empty expression is allowed
2828
if (node === null) {
2929
return true;

0 commit comments

Comments
 (0)