mkc init tsconfig target outdated

Open Beginner friendly
#168 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
cli

Research direction

Start with the mkc init command and find where it generates tsconfig.json, then inspect how compilerOptions.target is selected. Update the generated target to a supported value agreed by the project and verify that running mkc init no longer produces the TypeScript deprecation warning.

Written by the indexing model from the issue text.

Description

When you run mkc init, tsconfig.json is generated with compilerOptions.target set to ES5. This leads to the following IDE warning:

"Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error."

Dominant language
TypeScript
Stars
19
Forks
12
Avg merge
3h 47m
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/pxt-mkc

All issues in microsoft/pxt-mkc

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.