From: 夜宴 <1366792281@qq.com> Date: Sat, 15 Feb 2020 16:33:22 +0000 (+0800) Subject: chore: remove redundant Non-Null Assertion (#728) X-Git-Tag: v3.0.0-alpha.5~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a4412077c050be26549309a80a07dc4b623c64c;p=thirdparty%2Fvuejs%2Fcore.git chore: remove redundant Non-Null Assertion (#728) --- diff --git a/packages/runtime-core/src/apiCreateApp.ts b/packages/runtime-core/src/apiCreateApp.ts index ed5ce0950c..d093b787c8 100644 --- a/packages/runtime-core/src/apiCreateApp.ts +++ b/packages/runtime-core/src/apiCreateApp.ts @@ -217,7 +217,7 @@ export function createAppAPI( unmount() { if (isMounted) { - render(null, app._container!) + render(null, app._container) } else if (__DEV__) { warn(`Cannot unmount an app that is not mounted.`) }