chore(types): improve of type assertion (#4141)
This commit is contained in:
@@ -692,7 +692,7 @@ export function createCallExpression<T extends CallExpression['callee']>(
|
||||
loc,
|
||||
callee,
|
||||
arguments: args
|
||||
} as any
|
||||
} as InferCodegenNodeType<T>
|
||||
}
|
||||
|
||||
export function createFunctionExpression(
|
||||
|
||||
Reference in New Issue
Block a user