Skip to content

Commit

Permalink
fix(warn): cast symbols to strings (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
posva authored May 2, 2020
1 parent 583ba0c commit 71a942b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/apiCreateApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`
)
}
Expand Down

0 comments on commit 71a942b

Please sign in to comment.