Microsoft/TypeScript
View on GitHubExpose `--init` functionality in a tsserver command
Open
#4,466 opened on Aug 26, 2015
Help WantedSuggestion
Repository metrics
- Stars
- (48,455 stars)
- PR merge metrics
- (Avg merge 6d 17h) (9 merged PRs in 30d)
Description
We now have --init support to generating a default tsconfig.json file (see #4037). Editors would need to expose a functionality that uses this, possibly passing a set of additional defaults based on their scenario. we need to expose this as a Language Service API as well as a tsserver command. see @jrieken's comment in https://github.com/Microsoft/TypeScript/pull/4037#issuecomment-135056980