Skip to content

Commit 71a942b

Browse files
authoredMay 2, 2020
fix(warn): cast symbols to strings (#1103)
1 parent 583ba0c commit 71a942b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/runtime-core/src/apiCreateApp.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export function createAppAPI<HostElement>(
241241
provide(key, value) {
242242
if (__DEV__ && key in context.provides) {
243243
warn(
244-
`App already provides property with key "${key}". ` +
244+
`App already provides property with key "${String(key)}". ` +
245245
`It will be overwritten with the new value.`
246246
)
247247
}

0 commit comments

Comments
 (0)
Please sign in to comment.