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

Provide quick fix for declaring missing properties #13071

Closed
DanielRosenwasser opened this issue Dec 20, 2016 · 0 comments
Closed

Provide quick fix for declaring missing properties #13071

DanielRosenwasser opened this issue Dec 20, 2016 · 0 comments
Labels
Bug A bug in TypeScript Domain: Quick Fixes Editor-provided fixes, often called code actions. Fixed A PR has been merged for this issue

Comments

@DanielRosenwasser
Copy link
Member

class C {
    constructor() {
        this.foo = 10;
    }
}

this.foo doesn't exist, but we should provide a quick-fix to declare it.

@DanielRosenwasser DanielRosenwasser added Bug A bug in TypeScript Domain: Quick Fixes Editor-provided fixes, often called code actions. labels Dec 20, 2016
@DanielRosenwasser DanielRosenwasser changed the title Provide quick fix for declaring class properties Provide quick fix for declaring missing properties Dec 20, 2016
@mhegazy mhegazy added this to the TypeScript 2.2 milestone Dec 21, 2016
@mhegazy mhegazy modified the milestones: TypeScript 2.2, TypeScript 2.3 Feb 2, 2017
@aozgaa aozgaa closed this as completed Mar 6, 2017
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Mar 6, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Domain: Quick Fixes Editor-provided fixes, often called code actions. Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

3 participants