diff --git a/Roadmap.md b/Roadmap.md index 774011a..8d3fdd6 100644 --- a/Roadmap.md +++ b/Roadmap.md @@ -11,7 +11,6 @@ This page outlines specific features and fixes that are scheduled or planned for * Investigate [nominal typing support](https://github.com/Microsoft/TypeScript/issues/202) * [Flattening declarations](https://github.com/Microsoft/TypeScript/issues/4433) * Implement ES Decorator proposal -* Implement ES Private Fields * Investigate [Ambient](https://github.com/Microsoft/TypeScript/issues/2900), [Deprecated](https://github.com/Microsoft/TypeScript/issues/390), and [Conditional](https://github.com/Microsoft/TypeScript/issues/3538) decorators * [Investigate partial type argument inference](https://github.com/Microsoft/TypeScript/pull/26349) * Quick fix to [Scaffold local `@types` packages](https://github.com/Microsoft/TypeScript/issues/25746) diff --git a/learn/compiler/compiler-checker-inferrence.md b/learn/compiler/compiler-checker-inferrence.md index e5aa99b..76baec1 100644 --- a/learn/compiler/compiler-checker-inferrence.md +++ b/learn/compiler/compiler-checker-inferrence.md @@ -19,7 +19,7 @@ const a = "Hello World"; -[0]: +[0]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L17674 [1]: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-6.html#strict-function-types diff --git a/learn/compiler/compiler-checker.md b/learn/compiler/compiler-checker.md index 78deab3..45206d7 100644 --- a/learn/compiler/compiler-checker.md +++ b/learn/compiler/compiler-checker.md @@ -173,30 +173,30 @@ a different resolution. [`createFileDiagnostic`][10] which should get called for all diagnostic errors. -[0]: -[1]: -[2]: -[3]: +[0]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/program.ts#L1557 +[1]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L33799 +[2]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L33725 +[3]: https://github.com/microsoft/TypeScript/blob/1bb6ea03//src/compiler/types.ts#L4224 [4]: GLOSSARY.md#statements [ast]: GLOSSARY.md#statements -[5]: -[6]: -[7]: -[8]: -[9]: -[10]: +[5]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L33403 +[6]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L31745 +[7]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts +[8]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/utilities.ts +[9]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L36624 +[10]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/utilities.ts#L5083 [11]: [12]: -[13]: -[14]: -[15]: -[16]: -[17]: -[17]: -[19]: +[13]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L30811 +[14]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L27263 +[15]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L14557 +[16]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L14520 +[17]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L13815 +[17]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L14898 +[19]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/types.ts#L4251 [20]: GLOSSARY.md#structural-type-system -[21]: -[22]: -[22]: -[23]: +[21]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L15074 +[22]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L15313 +[22]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L15179 +[23]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L15397 diff --git a/learn/compiler/compiler-emitter.md b/learn/compiler/compiler-emitter.md index 40fc98b..5fb0e94 100644 --- a/learn/compiler/compiler-emitter.md +++ b/learn/compiler/compiler-emitter.md @@ -39,9 +39,9 @@ Emitting a declaration file is a multi-step process. It goes through the above e goes through a -[0]: -[1]: -[2]: -[3]: -[3]: +[0]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/emitter.ts#L1001 +[1]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/emitter.ts#L820 +[2]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/emitter.ts#L1089 +[3]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/emitter.ts#L812 +[3]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/emitter.ts#L1223 diff --git a/learn/compiler/compiler-parser.md b/learn/compiler/compiler-parser.md index d253bc5..8f136c2 100644 --- a/learn/compiler/compiler-parser.md +++ b/learn/compiler/compiler-parser.md @@ -12,7 +12,7 @@ reasonable dancing -[0]: +[0]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/program.ts#L1557 [4]: GLOSSARY.md#statements diff --git a/learn/compiler/compiler-scanner.md b/learn/compiler/compiler-scanner.md index 3c74882..8e0c1c1 100644 --- a/learn/compiler/compiler-scanner.md +++ b/learn/compiler/compiler-scanner.md @@ -80,13 +80,13 @@ doesn't do that. [0]: ./parser.md -[1]: -[2]: +[1]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/scanner.ts#L856 +[2]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/scanner.ts#L2287 [3]: GLOSSARY.md#incremental-parsing -[4]: -[5]: +[4]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/scanner.ts#L1478 +[5]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/scanner.ts#L1550 [6]: ./formatter.md -[7]: -[8]: -[9]: +[7]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/classifier.ts#L3 +[8]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/types.ts#L109 +[9]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/types.ts#L1737 diff --git a/learn/services/compiler-services-completions.md b/learn/services/compiler-services-completions.md index cde2b84..65b374d 100644 --- a/learn/services/compiler-services-completions.md +++ b/learn/services/compiler-services-completions.md @@ -33,6 +33,6 @@ different uses: #### -[1]: -[2]: +[1]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/completions.ts#L701 +[2]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/completions.ts#L786 diff --git a/learn/services/compiler-services-textChanges.md b/learn/services/compiler-services-textChanges.md index 539d43c..722eab0 100644 --- a/learn/services/compiler-services-textChanges.md +++ b/learn/services/compiler-services-textChanges.md @@ -54,14 +54,14 @@ Changes look like this: [`newFileChanges`][3] handles passing the set of -[0]: -[1]: -[2]: -[3]: -[4]: -[5]: -[6]: -[7]: -[8]: -[8]: +[0]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/textChanges.ts#L232 +[1]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/textChanges.ts#L125 +[2]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/textChanges.ts#L966 +[3]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/textChanges.ts#L864 +[4]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/textChanges.ts#L847 +[5]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/textChanges.ts#L877 +[6]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/textChanges.ts#L905 +[7]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/emitter.ts#L820 +[8]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/textChanges.ts#L923 +[8]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/textChanges.ts#L931 diff --git a/learn/systems/systems-cli.md b/learn/systems/systems-cli.md index 9934e8e..f15441b 100644 --- a/learn/systems/systems-cli.md +++ b/learn/systems/systems-cli.md @@ -18,7 +18,7 @@ Then it starts If the letter is a - then start looking forwards to see if the ar optionmap][4] [0]: https://github.com/microsoft/TypeScript/blob/master/src/tsc/tsc.ts -[1]: -[2]: -[3]: -[4]: +[1]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/tsc/tsc.ts +[2]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/types.ts#L5232 +[3]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/commandLineParser.ts#L1192 +[4]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/commandLineParser.ts#L222 diff --git a/learn/systems/systems-codefixes.md b/learn/systems/systems-codefixes.md index 19a5781..b154aca 100644 --- a/learn/systems/systems-codefixes.md +++ b/learn/systems/systems-codefixes.md @@ -93,8 +93,8 @@ These are some reference PRs to look at - https://github.com/microsoft/TypeScript/pull/32281 -[1]: +[1]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/services.ts#L1852 [2]: src/services/codeFixProvider.ts -[3]: -[4]: +[3]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/services.ts +[4]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/services/codeFixProvider.ts#L55 diff --git a/learn/systems/systems-fourslash.md b/learn/systems/systems-fourslash.md index 35afa8c..410c96c 100644 --- a/learn/systems/systems-fourslash.md +++ b/learn/systems/systems-fourslash.md @@ -57,7 +57,7 @@ moment;` [1]: https://github.com/microsoft/TypeScript/blob/master/tests/cases/fourslash [2]: https://github.com/microsoft/TypeScript/blob/master/src/testRunner/runner.ts [3]: https://github.com/microsoft/TypeScript/blob/master/src/harness/fourslashImpl.ts -[4]: -[5]: -[5]: +[4]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/harness/fourslashImpl.ts#L3579 +[5]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/harness/fourslashImpl.ts#L3584 +[5]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/harness/fourslashImpl.ts#L3634 diff --git a/scripts/fixtures/input.md b/scripts/fixtures/input.md index e925271..12b51a3 100644 --- a/scripts/fixtures/input.md +++ b/scripts/fixtures/input.md @@ -175,30 +175,30 @@ TODO: what are substituted types? [`createFileDiagnostic`][10] which should get called for all diagnostic errors. -[0]: -[1]: -[2]: -[3]: +[0]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/program.ts#L1557 +[1]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L33799 +[2]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L33725 +[3]: https://github.com/microsoft/TypeScript/blob/1bb6ea03//src/compiler/types.ts#L4224 [4]: GLOSSARY.md#statements [ast]: GLOSSARY.md#statements -[5]: -[6]: -[7]: -[8]: -[9]: -[10]: +[5]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L33403 +[6]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L31745 +[7]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts +[8]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/utilities.ts +[9]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L36624 +[10]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/utilities.ts#L5083 [11]: [12]: -[13]: -[14]: -[15]: -[16]: -[17]: -[17]: -[19]: +[13]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L30811 +[14]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L27263 +[15]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L14557 +[16]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L14520 +[17]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L13815 +[17]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L14898 +[19]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/types.ts#L4251 [20]: GLOSSARY.md#structural-type-system -[21]: -[22]: -[22]: -[23]: +[21]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L15074 +[22]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L15313 +[22]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L15179 +[23]: https://github.com/microsoft/TypeScript/blob/1bb6ea03/src/compiler/checker.ts#L15397