fix(warn): cast symbols to strings (#1103)
This commit is contained in:
parent
583ba0c172
commit
71a942b25a
@ -241,7 +241,7 @@ export function createAppAPI<HostElement>(
|
||||
provide(key, value) {
|
||||
if (__DEV__ && key in context.provides) {
|
||||
warn(
|
||||
`App already provides property with key "${key}". ` +
|
||||
`App already provides property with key "${String(key)}". ` +
|
||||
`It will be overwritten with the new value.`
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user