chore(types): remove unnecessary type assertions (#4336)
This commit is contained in:
@@ -475,7 +475,7 @@ export function createComponentInstance(
|
||||
emitsOptions: normalizeEmitsOptions(type, appContext),
|
||||
|
||||
// emit
|
||||
emit: null as any, // to be set immediately
|
||||
emit: null!, // to be set immediately
|
||||
emitted: null,
|
||||
|
||||
// props default value
|
||||
|
||||
Reference in New Issue
Block a user