]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove redundant Non-Null Assertion (#728)
author夜宴 <1366792281@qq.com>
Sat, 15 Feb 2020 16:33:22 +0000 (00:33 +0800)
committerGitHub <noreply@github.com>
Sat, 15 Feb 2020 16:33:22 +0000 (11:33 -0500)
packages/runtime-core/src/apiCreateApp.ts

index ed5ce0950c5a0c133cf04d9796f46c44c3f3ac98..d093b787c81e89a9d38dc2376ad815d7cf79ea75 100644 (file)
@@ -217,7 +217,7 @@ export function createAppAPI<HostNode, HostElement>(
 
       unmount() {
         if (isMounted) {
-          render(null, app._container!)
+          render(null, app._container)
         } else if (__DEV__) {
           warn(`Cannot unmount an app that is not mounted.`)
         }