Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

typescript class #153

Closed
Closed
@xiachaoxulu

Description

@xiachaoxulu

Expected behavior

correct

Actual behavior

Unexpected token

Steps to reproduce the behavior

{{ msg }}

<script lang='ts'> import Vue from 'vue' import Component from 'vue-class-component' import { Prop, Watch, Provide } from 'vue-property-decorator' @component export default class Button extends Vue { name: string = 'button' @provide() msg: string = 'hello button' mounted() { this.msg = 'i am two button' } } </script>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions