chore: remove outdated type comment (#5103)
This commit is contained in:
parent
b9484543db
commit
292ce69439
@ -345,9 +345,8 @@ export function createAppAPI<HostElement>(
|
||||
`It will be overwritten with the new value.`
|
||||
)
|
||||
}
|
||||
// TypeScript doesn't allow symbols as index type
|
||||
// https://github.com/Microsoft/TypeScript/issues/24587
|
||||
context.provides[key as string] = value
|
||||
|
||||
context.provides[key as string | symbol] = value
|
||||
|
||||
return app
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user