Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript 2.7 "definite assignment assertion" error #43296

Closed
simll opened this issue Feb 9, 2018 · 2 comments
Closed

Typescript 2.7 "definite assignment assertion" error #43296

simll opened this issue Feb 9, 2018 · 2 comments
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension

Comments

@simll
Copy link

simll commented Feb 9, 2018

Issue Type

Bug

Description

I got error when I use Typescript Decorators and "definite assignment assertion":
image
(Attachment: test project, error file path: src/components/HelloWorld.vue)

VS Code Info

VS Code version: Code 1.20.0 (c63189d, 2018-02-07T17:09:39.780Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (8 x 3293)
Memory (System) 11.96GB (5.18GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe
Screen Reader no
VM 50%
Extensions (3)
Extension Author (truncated) Version
vscode-eslint dba 1.4.5
tslint eg2 1.0.24
vetur oct 0.11.7
Reproduces only with extensions
@vscodebot vscodebot bot added the new release label Feb 9, 2018
@simll simll changed the title 使用Typescript新特征提示错乱 Typescript 2.7 "definite assignment assertion" error Feb 9, 2018
@mjbvz mjbvz self-assigned this Feb 9, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Feb 9, 2018

Seems like an issue with vetur. I can't repo in a normal TS file using TS 2.7

Please file this issue against Vetur

@mjbvz mjbvz closed this as completed Feb 9, 2018
@mjbvz mjbvz added the *caused-by-extension Issue identified to be caused by an extension label Feb 9, 2018
@simll
Copy link
Author

simll commented Feb 10, 2018

You are right. I find an issue like this, vuejs/vetur#682.
Thanks for you help.

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension
Projects
None yet
Development

No branches or pull requests

2 participants