Skip to content

Commit 5d86382

Browse files
author
Andy Hanson
committed
Merge branch 'master' into no-object-literal-type-assertion-2
2 parents 88c39bf + bc5668e commit 5d86382

File tree

17,502 files changed

+1707565
-707504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

17,502 files changed

+1707565
-707504
lines changed

.github/ISSUE_TEMPLATE/Bug_report.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨
8+
9+
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!
10+
11+
Please help us by doing the following steps before logging an issue:
12+
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues
13+
* Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ
14+
15+
Please fill in the *entire* template below.
16+
-->
17+
18+
<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->
19+
**TypeScript Version:** 3.2.0-dev.201xxxxx
20+
21+
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
22+
**Search Terms:**
23+
24+
**Code**
25+
26+
```ts
27+
// A *self-contained* demonstration of the problem follows...
28+
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
29+
```
30+
31+
**Expected behavior:**
32+
33+
**Actual behavior:**
34+
35+
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
36+
37+
**Related Issues:** <!-- Did you find other bugs that looked similar? -->
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨
8+
9+
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.
10+
11+
-->
12+
13+
## Search Terms
14+
15+
<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily -->
16+
17+
## Suggestion
18+
19+
<!-- A summary of what you'd like to see added or changed -->
20+
21+
## Use Cases
22+
23+
<!--
24+
What do you want to use this for?
25+
What shortcomings exist with current approaches?
26+
-->
27+
28+
## Examples
29+
30+
<!-- Show how this would be used and what the behavior would be -->
31+
32+
## Checklist
33+
34+
My suggestion meets these guidelines:
35+
36+
* [ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
37+
* [ ] This wouldn't change the runtime behavior of existing JavaScript code
38+
* [ ] This could be implemented without emitting different JS based on the types of the expressions
39+
* [ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
40+
* [ ] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
41+

.github/ISSUE_TEMPLATE/Question.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Question
3+
about: The issue tracker is not for questions. Please use Stack Overflow or other resources for help writing TypeScript code.
4+
5+
---
6+
7+
THE ISSUE TRACKER IS NOT FOR QUESTIONS.
8+
9+
DO NOT CREATE A NEW ISSUE TO ASK A QUESTION.
10+
11+
IF YOU ARE HAVING PROBLEMS WITH YOUR TYPESCRIPT CODE, DO NOT ASK A QUESTION HERE.
12+
13+
Tens of thousands of TypeScript questions have been asked and answered on StackOverflow; see https://stackoverflow.com/questions/tagged/typescript . You can ask questions there or on other websites.
14+
15+
The only exception is if you have a question about *the TypeScript compiler API itself*. Please post a complete example of what you're trying to do and precisely describe what your question is.

.github/issue_template.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 -->
2+
<!--
3+
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.
4+
5+
Please help us by doing the following steps before logging an issue:
6+
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues
7+
* Read the CONTRIBUTING guidelines: https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md
8+
* Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ
9+
-->
10+
11+
<!-- If you have a QUESTION:
12+
THIS IS NOT A FORUM FOR QUESTIONS.
13+
Ask questions at http://stackoverflow.com/questions/tagged/typescript
14+
or https://gitter.im/Microsoft/TypeScript
15+
-->
16+
17+
<!-- If you have a SUGGESTION:
18+
Most suggestion reports are duplicates, please search extra hard before logging a new suggestion.
19+
See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md
20+
-->
21+
22+
<!-- If you have a BUG:
23+
Please fill in the *entire* template below.
24+
-->
25+
26+
<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->
27+
**TypeScript Version:** 3.0.0-dev.201xxxxx
28+
29+
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
30+
**Search Terms:**
31+
32+
**Code**
33+
34+
```ts
35+
// A *self-contained* demonstration of the problem follows...
36+
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
37+
```
38+
39+
**Expected behavior:**
40+
41+
**Actual behavior:**
42+
43+
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
44+
45+
**Related Issues:**

.github/pull_request_template.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!--
2+
Thank you for submitting a pull request!
3+
4+
Here's a checklist you might find useful.
5+
* [ ] There is an associated issue that is labeled
6+
'Bug' or 'help wanted' or is in the Community milestone
7+
* [ ] Code is up-to-date with the `master` branch
8+
* [ ] You've successfully run `jake runtests` locally
9+
* [ ] You've signed the CLA
10+
* [ ] There are new or updated unit tests validating the change
11+
12+
Refer to CONTRIBUTING.MD for more details.
13+
https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md
14+
-->
15+
16+
Fixes #
17+

.gitignore

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
2+
.node_modules/
23
built/*
34
tests/cases/rwc/*
45
tests/cases/test262/*
@@ -22,6 +23,8 @@ tests/services/browser/typescriptServices.js
2223
src/harness/*.js
2324
src/compiler/diagnosticInformationMap.generated.ts
2425
src/compiler/diagnosticMessages.generated.json
26+
src/parser/diagnosticInformationMap.generated.ts
27+
src/parser/diagnosticMessages.generated.json
2528
rwc-report.html
2629
*.swp
2730
build.json
@@ -39,9 +42,11 @@ scripts/word2md.js
3942
scripts/buildProtocol.js
4043
scripts/ior.js
4144
scripts/authors.js
42-
scripts/configureNightly.js
45+
scripts/configurePrerelease.js
46+
scripts/open-user-pr.js
4347
scripts/processDiagnosticMessages.d.ts
4448
scripts/processDiagnosticMessages.js
49+
scripts/produceLKG.js
4550
scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.js
4651
scripts/generateLocalizedDiagnosticMessages.js
4752
scripts/*.js.map
@@ -58,6 +63,7 @@ internal/
5863
!tests/baselines/reference/project/nodeModules*/**/*
5964
.idea
6065
yarn.lock
66+
yarn-error.log
6167
.parallelperf.*
6268
tests/cases/user/*/package-lock.json
6369
tests/cases/user/*/node_modules/
@@ -67,3 +73,7 @@ tests/cases/user/*/**/*.d.ts
6773
!tests/cases/user/zone.js/
6874
!tests/cases/user/bignumber.js/
6975
!tests/cases/user/discord.js/
76+
tests/baselines/reference/dt
77+
.failed-tests
78+
TEST-results.xml
79+
package-lock.json

.gitmodules

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[submodule "tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter"]
2+
path = tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter
3+
url = https://github.com/Microsoft/TypeScript-React-Starter
4+
ignore = all
5+
[submodule "tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter"]
6+
path = tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
7+
url = https://github.com/Microsoft/TypeScript-Node-Starter.git
8+
ignore = all
9+
[submodule "tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter"]
10+
path = tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter
11+
url = https://github.com/Microsoft/TypeScript-React-Native-Starter.git
12+
ignore = all
13+
[submodule "tests/cases/user/TypeScript-Vue-Starter/TypeScript-Vue-Starter"]
14+
path = tests/cases/user/TypeScript-Vue-Starter/TypeScript-Vue-Starter
15+
url = https://github.com/Microsoft/TypeScript-Vue-Starter.git
16+
ignore = all
17+
[submodule "tests/cases/user/TypeScript-WeChat-Starter/TypeScript-WeChat-Starter"]
18+
path = tests/cases/user/TypeScript-WeChat-Starter/TypeScript-WeChat-Starter
19+
url = https://github.com/Microsoft/TypeScript-WeChat-Starter.git
20+
ignore = all
21+
[submodule "tests/cases/user/create-react-app/create-react-app"]
22+
path = tests/cases/user/create-react-app/create-react-app
23+
url = https://github.com/facebook/create-react-app.git
24+
ignore = all
25+
[submodule "tests/cases/user/webpack/webpack"]
26+
path = tests/cases/user/webpack/webpack
27+
url = https://github.com/webpack/webpack.git
28+
ignore = all
29+
[submodule "tests/cases/user/puppeteer/puppeteer"]
30+
path = tests/cases/user/puppeteer/puppeteer
31+
url = https://github.com/GoogleChrome/puppeteer.git
32+
ignore = all
33+
[submodule "tests/cases/user/axios-src/axios-src"]
34+
path = tests/cases/user/axios-src/axios-src
35+
url = https://github.com/axios/axios.git
36+
ignore = all
37+
[submodule "tests/cases/user/prettier/prettier"]
38+
path = tests/cases/user/prettier/prettier
39+
url = https://github.com/prettier/prettier.git
40+
ignore = all

.mailmap

Lines changed: 75 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ Michael <[email protected]>
139139
Mike Busyrev <[email protected]>
140140
Mine Starks <[email protected]> Mine Starks <[email protected]>
141141
Mohamed Hegazy <[email protected]>
142-
ncoley <[email protected]> # Natalie Coley
143-
Nathan Shively-Sanders <[email protected]>
142+
Nathan Shively-Sanders <[email protected]> Nathan Shively-Sanders <[email protected]>
144143
Nathan Yee <[email protected]>
145144
Nima Zahedi <[email protected]>
146145
Noah Chen <[email protected]>
@@ -164,7 +163,7 @@ Rostislav Galimsky <[email protected]>
164163
Richard Knoll <[email protected]> Richard Knoll <[email protected]>
165164
Richard Karmazín <[email protected]>
166165
Rowan Wyborn <[email protected]>
167-
Ryan Cavanaugh <[email protected]> Ryan Cavanaugh <[email protected]> Ryan Cavanaugh <[email protected]>
166+
Ryan Cavanaugh <[email protected]> Ryan Cavanaugh <[email protected]> Ryan Cavanaugh <[email protected]> Ryan Cavanaugh <[email protected]>
168167
Ryohei Ikegami <[email protected]>
169168
Sarangan Rajamanickam <[email protected]>
170169
Sébastien Arod <[email protected]>
@@ -287,4 +286,76 @@ Stas Vilchik <[email protected]>
287286
Taras Mankovski <[email protected]>
288287
Thomas den Hollander <[email protected]>
289288
Vakhurin Sergey <[email protected]>
290-
Zeeshan Ahmed <[email protected]>
289+
Zeeshan Ahmed <[email protected]>
290+
Orta <[email protected]> # Orta Therox
291+
IdeaHunter <[email protected]> # @IdeaHunter
292+
kujon <[email protected]> # Jakub Korzeniowski
293+
Matt <[email protected]> # @begincalendar
294+
meyer <[email protected]> # @meyer
295+
micbou <[email protected]> # @micbou
296+
Alan Agius <[email protected]>
297+
Alex Khomchenko <[email protected]>
298+
Oussama Ben Brahim <[email protected]> benbraou <[email protected]>
299+
Cameron Taggart <[email protected]>
300+
Eugene Timokhov <[email protected]>
301+
302+
303+
Martin Hiller <[email protected]>
304+
Mike Morearty <[email protected]>
305+
Priyantha Lankapura <[email protected]>
306+
Remo H. Jansen <[email protected]>
307+
Sean Barag <[email protected]>
308+
Sharon Rolel <[email protected]>
309+
Stanislav Iliev <[email protected]>
310+
Wenlu Wang <[email protected]> wenlu.wang <[email protected]> kingwl <[email protected]> 王文璐 <[email protected]> 王文璐 <[email protected]>
311+
Wilson Hobbs <[email protected]>
312+
Yuval Greenfield <[email protected]>
313+
Daniel <[email protected]> # @nieltg
314+
Adnan Chowdhury <[email protected]>
315+
Esakki Raj <[email protected]>
316+
Jack Williams <[email protected]>
317+
Philippe Voinov <[email protected]>
318+
Stephan Ginthör <[email protected]>
319+
AdityaDaflapurkar <[email protected]> # Aditya Daflapurkar
320+
Eric Grube <[email protected]>
321+
Martyn Janes <[email protected]>
322+
Ricardo N Feliciano <[email protected]>
323+
Sergii Bezliudnyi <[email protected]>
324+
Adrien Gibrat <[email protected]>
325+
Alex Ryan <[email protected]>
326+
Alexader <[email protected]> Alexander T <[email protected]> # Alexander Tarasyuk
327+
Andrew Faulkner <[email protected]>
328+
Artem Tyurin <[email protected]>
329+
Brandon Slade <[email protected]>
330+
Derek P Sifford <[email protected]>
331+
Dhruv Rajvanshi <[email protected]>
332+
Holger Jeromin <[email protected]>
333+
Jordi Oliveras Rovira <[email protected]>
334+
Joscha Feth <[email protected]> Joscha Feth <[email protected]>
335+
Ken703 <[email protected]> # Bowden Kenny
336+
Kevin Donnelly <[email protected]>
337+
Maarten Sijm <[email protected]>
338+
Paul Koerbitz <[email protected]>
339+
EcoleKeine <[email protected]> # Ecole Keine
340+
341+
rhysd <[email protected]> # @rhysd
342+
Zen <[email protected]> Zzzen <[email protected]> # @Zzzen
343+
bluelovers <[email protected]> # @bluelovers
344+
Dan Freeman <[email protected]>
345+
David Sherret <[email protected]>
346+
David Staheli <[email protected]>
347+
Elizabeth Dinella <[email protected]>
348+
349+
Kevin Gibbons <[email protected]>
350+
Markus Johnsson <[email protected]>
351+
Martin Probst <[email protected]>
352+
Mateusz Burzyński <[email protected]>
353+
Steven <[email protected]> # @styfle
354+
Pi Lanningham <[email protected]>
355+
Sam Bostock <[email protected]>
356+
Vimal Raghubir <[email protected]>
357+
Vyacheslav Pukhanov <[email protected]>
358+
dangoo <[email protected]> # Daniel Gooss
359+
krk <[email protected]> # Kerem Kat
360+
micnic <[email protected]> # Nicu Micleușanu
361+
rflorian <[email protected]> # @rflorian

.npmignore

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
11
built
22
doc
3-
Gulpfile.ts
3+
Gulpfile.js
44
internal
5-
issue_template.md
65
jenkins.sh
76
lib/README.md
87
lib/enu
98
netci.groovy
10-
pull_request_template.md
119
scripts
1210
src
1311
tests
1412
tslint.json
1513
Jakefile.js
1614
.editorconfig
1715
.gitattributes
16+
.gitmodules
1817
.settings/
1918
.travis.yml
19+
.circleci
2020
.vscode/
21-
test.config
21+
.parallelperf.json
22+
.mailmap
23+
test.config
24+
package-lock.json
25+
yarn.lock
26+
.github/
27+
CONTRIBUTING.md
28+
TEST-results.xml

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

0 commit comments

Comments
 (0)