chore: remove outdated type comment (#5103)

This commit is contained in:
qinxiaosen_ccc 2022-05-06 18:44:28 +08:00 committed by GitHub
parent b9484543db
commit 292ce69439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -345,9 +345,8 @@ export function createAppAPI<HostElement>(
`It will be overwritten with the new value.` `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 | symbol] = value
context.provides[key as string] = value
return app return app
} }