From c7e28fd5ed1b7d1268ca2ddac6529f611f0166d9 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 2 Feb 2018 03:31:11 -0500 Subject: [PATCH] fix: TS 2.7 compat --- .../generator/template/src/components/HelloWorld.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@vue/cli-plugin-typescript/generator/template/src/components/HelloWorld.vue b/packages/@vue/cli-plugin-typescript/generator/template/src/components/HelloWorld.vue index f0fd5cb04d..f19b36edf1 100644 --- a/packages/@vue/cli-plugin-typescript/generator/template/src/components/HelloWorld.vue +++ b/packages/@vue/cli-plugin-typescript/generator/template/src/components/HelloWorld.vue @@ -35,7 +35,7 @@ import { Component, Prop, Vue } from 'vue-property-decorator'; @Component export default class HelloWorld extends Vue { - @Prop() private msg: string; + @Prop() private msg!: string; } <%_ } _%>