chore(types): improve of type assertion (#4141)

This commit is contained in:
webfansplz
2021-07-19 22:32:07 +08:00
committed by GitHub
parent 1e5e004d7c
commit df0ce21836
2 changed files with 8 additions and 4 deletions

View File

@@ -692,7 +692,7 @@ export function createCallExpression<T extends CallExpression['callee']>(
loc,
callee,
arguments: args
} as any
} as InferCodegenNodeType<T>
}
export function createFunctionExpression(