Browse Source

fix(warn): cast symbols to strings (#1103)

Eduardo San Martin Morote 6 years ago
parent
commit
71a942b25a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/runtime-core/src/apiCreateApp.ts

+ 1 - 1
packages/runtime-core/src/apiCreateApp.ts

@@ -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.`
           )
         }