-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issue-27144
- Loading branch information
Showing
9,879 changed files
with
990,645 additions
and
299,370 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
node_modules | ||
.node_modules | ||
built/* | ||
test-args.txt | ||
~*.docx | ||
\#*\# | ||
.\#* | ||
src/harness/*.js | ||
src/compiler/diagnosticInformationMap.generated.ts | ||
src/compiler/diagnosticMessages.generated.json | ||
src/parser/diagnosticInformationMap.generated.ts | ||
src/parser/diagnosticMessages.generated.json | ||
rwc-report.html | ||
*.swp | ||
build.json | ||
*.actual | ||
*.config | ||
scripts/debug.bat | ||
scripts/run.bat | ||
scripts/word2md.js | ||
scripts/buildProtocol.js | ||
scripts/ior.js | ||
scripts/authors.js | ||
scripts/configurePrerelease.js | ||
scripts/open-user-pr.js | ||
scripts/open-cherry-pick-pr.js | ||
scripts/processDiagnosticMessages.d.ts | ||
scripts/processDiagnosticMessages.js | ||
scripts/produceLKG.js | ||
scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.js | ||
scripts/generateLocalizedDiagnosticMessages.js | ||
scripts/configureLanguageServiceBuild.js | ||
scripts/*.js.map | ||
scripts/typings/ | ||
coverage/ | ||
internal/ | ||
**/.DS_Store | ||
.settings | ||
**/.vs | ||
.idea | ||
yarn.lock | ||
yarn-error.log | ||
.parallelperf.* | ||
.failed-tests | ||
TEST-results.xml | ||
package-lock.json | ||
tests | ||
.vscode | ||
.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/built/local/** | ||
/tests/** | ||
/lib/** | ||
/src/lib/*.generated.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"warnOnUnsupportedTypeScriptVersion": false, | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"env": { | ||
"browser": false, | ||
"node": true, | ||
"es6": true | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint", "jsdoc", "no-null", "import" | ||
], | ||
"rules": { | ||
"@typescript-eslint/adjacent-overload-signatures": "error", | ||
"@typescript-eslint/array-type": "error", | ||
|
||
"camelcase": "off", | ||
"@typescript-eslint/camelcase": ["error", { "properties": "never", "allow": ["^[A-Za-z][a-zA-Za-z]+_[A-Za-z]+$"] }], | ||
|
||
"@typescript-eslint/class-name-casing": "error", | ||
"@typescript-eslint/consistent-type-definitions": ["error", "interface"], | ||
"@typescript-eslint/interface-name-prefix": "error", | ||
"@typescript-eslint/no-inferrable-types": "error", | ||
"@typescript-eslint/no-misused-new": "error", | ||
"@typescript-eslint/no-this-alias": "error", | ||
|
||
"no-unused-expressions": "off", | ||
"@typescript-eslint/no-unused-expressions": ["error", { "allowTernary": true }], | ||
|
||
"@typescript-eslint/prefer-for-of": "error", | ||
"@typescript-eslint/prefer-function-type": "error", | ||
"@typescript-eslint/prefer-namespace-keyword": "error", | ||
|
||
"quotes": "off", | ||
"@typescript-eslint/quotes": ["error", "double", { "avoidEscape": true, "allowTemplateLiterals": true }], | ||
|
||
"semi": "off", | ||
"@typescript-eslint/semi": "error", | ||
|
||
"space-before-function-paren": "off", | ||
"@typescript-eslint/space-before-function-paren": ["error", { | ||
"asyncArrow": "always", | ||
"anonymous": "always", | ||
"named": "never" | ||
}], | ||
|
||
"@typescript-eslint/triple-slash-reference": "error", | ||
"@typescript-eslint/type-annotation-spacing": "error", | ||
"@typescript-eslint/unified-signatures": "error", | ||
|
||
// scripts/eslint/rules | ||
"object-literal-surrounding-space": "error", | ||
"no-type-assertion-whitespace": "error", | ||
"type-operator-spacing": "error", | ||
"only-arrow-functions": ["error", { | ||
"allowNamedFunctions": true , | ||
"allowDeclarations": true | ||
}], | ||
"no-double-space": "error", | ||
"boolean-trivia": "error", | ||
"no-in-operator": "error", | ||
"simple-indent": "error", | ||
"debug-assert": "error", | ||
"no-keywords": "error", | ||
"one-namespace-per-file": "error", | ||
|
||
// eslint-plugin-import | ||
"import/no-extraneous-dependencies": ["error", { "optionalDependencies": false }], | ||
|
||
// eslint-plugin-no-null | ||
"no-null/no-null": "error", | ||
|
||
// eslint-plugin-jsdoc | ||
"jsdoc/check-alignment": "error", | ||
|
||
// eslint | ||
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }], | ||
"constructor-super": "error", | ||
"curly": ["error", "multi-line"], | ||
"dot-notation": "error", | ||
"eqeqeq": "error", | ||
"linebreak-style": ["error", "windows"], | ||
"new-parens": "error", | ||
"no-caller": "error", | ||
"no-duplicate-case": "error", | ||
"no-duplicate-imports": "error", | ||
"no-empty": "error", | ||
"no-eval": "error", | ||
"no-extra-bind": "error", | ||
"no-fallthrough": "error", | ||
"no-new-func": "error", | ||
"no-new-wrappers": "error", | ||
"no-return-await": "error", | ||
"no-restricted-globals": ["error", | ||
{ "name": "setTimeout" }, | ||
{ "name": "clearTimeout" }, | ||
{ "name": "setInterval" }, | ||
{ "name": "clearInterval" }, | ||
{ "name": "setImmediate" }, | ||
{ "name": "clearImmediate" } | ||
], | ||
"no-sparse-arrays": "error", | ||
"no-template-curly-in-string": "error", | ||
"no-throw-literal": "error", | ||
"no-trailing-spaces": "error", | ||
"no-undef-init": "error", | ||
"no-unsafe-finally": "error", | ||
"no-unused-labels": "error", | ||
"no-var": "error", | ||
"object-shorthand": "error", | ||
"prefer-const": "error", | ||
"prefer-object-spread": "error", | ||
"quote-props": ["error", "consistent-as-needed"], | ||
"space-in-parens": "error", | ||
"unicode-bom": ["error", "never"], | ||
"use-isnan": "error" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,44 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 | ||
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! | ||
Please help us by doing the following steps before logging an issue: | ||
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues | ||
* Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ | ||
Please fill in the *entire* template below. | ||
--> | ||
|
||
<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> | ||
**TypeScript Version:** 3.4.0-dev.201xxxxx | ||
|
||
<!-- Search terms you tried before logging this (so others can find this issue more easily) --> | ||
**Search Terms:** | ||
|
||
**Code** | ||
|
||
```ts | ||
// A *self-contained* demonstration of the problem follows... | ||
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc. | ||
``` | ||
|
||
**Expected behavior:** | ||
|
||
**Actual behavior:** | ||
|
||
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> | ||
|
||
**Related Issues:** <!-- Did you find other bugs that looked similar? --> | ||
--- | ||
name: Bug | ||
about: Create a report to help us improve TypeScript | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 | ||
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! | ||
Please help us by doing the following steps before logging an issue: | ||
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues | ||
* Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ | ||
Please fill in the *entire* template below. | ||
--> | ||
|
||
<!-- | ||
Please try to reproduce the issue with the latest published version. It may have already been fixed. | ||
For npm: `typescript@next` | ||
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly | ||
--> | ||
**TypeScript Version:** 3.7.x-dev.201xxxxx | ||
|
||
<!-- Search terms you tried before logging this (so others can find this issue more easily) --> | ||
**Search Terms:** | ||
|
||
**Code** | ||
|
||
```ts | ||
// A *self-contained* demonstration of the problem follows... | ||
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc. | ||
``` | ||
|
||
**Expected behavior:** | ||
|
||
**Actual behavior:** | ||
|
||
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> | ||
|
||
**Related Issues:** <!-- Did you find other bugs that looked similar? --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,47 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 | ||
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please read the FAQ first, especially the "Common Feature Requests" section. | ||
--> | ||
|
||
## Search Terms | ||
|
||
<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily --> | ||
|
||
## Suggestion | ||
|
||
<!-- A summary of what you'd like to see added or changed --> | ||
|
||
## Use Cases | ||
|
||
<!-- | ||
What do you want to use this for? | ||
What shortcomings exist with current approaches? | ||
--> | ||
|
||
## Examples | ||
|
||
<!-- Show how this would be used and what the behavior would be --> | ||
|
||
## Checklist | ||
|
||
My suggestion meets these guidelines: | ||
|
||
* [ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code | ||
* [ ] This wouldn't change the runtime behavior of existing JavaScript code | ||
* [ ] This could be implemented without emitting different JS based on the types of the expressions | ||
* [ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.) | ||
* [ ] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals). | ||
|
||
--- | ||
name: Feature Request | ||
about: Suggest an idea | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 | ||
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. | ||
Please help us by doing the following steps before logging an issue: | ||
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues | ||
* Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ | ||
--> | ||
|
||
## Search Terms | ||
|
||
<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily --> | ||
|
||
## Suggestion | ||
|
||
<!-- A summary of what you'd like to see added or changed --> | ||
|
||
## Use Cases | ||
|
||
<!-- | ||
What do you want to use this for? | ||
What shortcomings exist with current approaches? | ||
--> | ||
|
||
## Examples | ||
|
||
<!-- Show how this would be used and what the behavior would be --> | ||
|
||
## Checklist | ||
|
||
My suggestion meets these guidelines: | ||
|
||
* [ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code | ||
* [ ] This wouldn't change the runtime behavior of existing JavaScript code | ||
* [ ] This could be implemented without emitting different JS based on the types of the expressions | ||
* [ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.) | ||
* [ ] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals). |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
blank_issues_enabled: false | ||
contact_links: | ||
- | ||
about: "Please ask and answer usage questions on Stack Overflow." | ||
name: Question | ||
url: "https://stackoverflow.com/questions/tagged/typescript" | ||
- | ||
about: "Alternatively, you can use the TypeScript Community Discord." | ||
name: Chat | ||
url: "https://discord.gg/typescript" | ||
- | ||
about: "Please check the FAQ before filing new issues" | ||
name: "TypeScript FAQ" | ||
url: "https://github.com/microsoft/TypeScript/wiki/FAQ" | ||
- | ||
about: "Please raise issues about the site on it's own repo." | ||
name: Website | ||
url: "https://github.com/microsoft/TypeScript-Website/issues/new" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
sandersn | ||
elibarzilay | ||
weswigham | ||
andrewbranch | ||
RyanCavanaugh | ||
sheetalkamat | ||
orta | ||
rbuckton |
Oops, something went wrong.