Skip to content

Commit bbd0a4d

Browse files
committed
follow updates of typings of acorn
1 parent d9e6fd8 commit bbd0a4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/assetsInjector.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const injectAssets = (compiledESM: string) => {
5656

5757
const ast = parse(compiledESM, { ecmaVersion: 2015, sourceType: 'module' })
5858
let helperFunctionName: string
59-
walk(
59+
walk<Node[]>(
6060
ast,
6161
(node, state) => {
6262
if (isLiteral(node)) {
@@ -106,7 +106,7 @@ export const injectAssets = (compiledESM: string) => {
106106
}
107107
},
108108
undefined,
109-
null,
109+
undefined,
110110
)
111111

112112
if (taggedPaths.length > 0) {

0 commit comments

Comments
 (0)