microsoft / microsoft/TypeScript

Docs: Incorrect option in wiki doc JavaScript Language Service in Visual Studio

Open
#45,009 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Docs
Dominant language
Go
Stars
111k
Forks
14.4k
Avg merge
1d 19h
Merged PRs (30d)
117

Description

Looking at https://github.com/microsoft/TypeScript/wiki/JavaScript-Language-Service-in-Visual-Studio#-support-for-es6-and-beyond it states enableAutoDiscovery as an option in a tsconfig.json file.

But looking at https://www.typescriptlang.org/tsconfig it does not seem to be an option available at all. Not on https://www.typescriptlang.org/docs/handbook/compiler-options.html either.

I thus wonder if this is incorrect in that wiki, and if in general the docs in the wiki article are quite outdated and could use an overhaul? They do not seem to be exactly described the same as in https://code.visualstudio.com/docs/nodejs/working-with-javascript#_global-variables-and-type-checking and https://code.visualstudio.com/docs/languages/jsconfig#_jsconfig-options

Contributor guide

Open the contributing guide

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.

Research direction

Start with the TypeScript wiki article section “Support for ES6 and beyond,” then compare its tsconfig guidance with the linked tsconfig and compiler-options documentation and the VS Code JavaScript and jsconfig pages. Done means the wiki no longer presents an unsupported option and any outdated guidance in the scoped section is corrected or clearly identified for follow-up.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.