镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Suggestion: tsc init to generate tsconfig.json #3079

Description

@alexeagle

I know the tsconfig.json file is small, but it's a distraction to have to go look up a copy-paste example while you're starting a new project in VSCode. And that makes the screencast not as cool :)

npm and other javascripty tools have an init command which creates your basic config file structure. Ideally it would contain all the default options explicitly spelled out, and including documentation inline on how to set the knobs correctly (but I know this is challenging in raw JSON)

the TypeStrong atom editor plugin generates the tsconfig.json, but I didn't find another way (at least in a couple minutes of searching, which is all an end user would do at this point)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issueHelp WantedYou can do thisSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions