From 71a942b25a2cad61c3d670075523c31d296c7089 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 2 May 2020 16:26:32 +0200 Subject: [PATCH] fix(warn): cast symbols to strings (#1103) --- packages/runtime-core/src/apiCreateApp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/apiCreateApp.ts b/packages/runtime-core/src/apiCreateApp.ts index c1e0538cb6d..4e3079e436f 100644 --- a/packages/runtime-core/src/apiCreateApp.ts +++ b/packages/runtime-core/src/apiCreateApp.ts @@ -241,7 +241,7 @@ export function createAppAPI( 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.` ) }