Microsoft/TypeScript
Vedi su GitHub'declare method' quick fix for adding a private method
Open
#37.782 aperta il 3 apr 2020
Good First IssueHelp WantedSuggestion
Metriche repository
- Star
- (48.455 star)
- Metriche merge PR
- (Merge medio 6g 17h) (9 PR mergiate in 30 g)
Descrizione
From https://github.com/microsoft/vscode/issues/94118
TypeScript Version: 3.9.0-dev.20200330
Search terms
- quick fix
- declare method
- private
Repro For ts file:
index.ts
class Bar {
bar() {
this._baz(123)
}
}
- Trigger quick fixes on
_baz
Feature request: https://github.com/microsoft/TypeScript/issues/36249 added a quick fix for adding private properties. However there is no quick fix for adding a private method
Playground Link:
Related Issues: