Skip to content

Commit cd7dd47

Browse files
committed
Merge branch 'master' into constructor-narrow
2 parents b7432d1 + 1a05f13 commit cd7dd47

11,169 files changed

Lines changed: 1243921 additions & 609816 deletions

File tree

Some content is hidden

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

.circleci/config.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.
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.1.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: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
* [ ] This wouldn't be a breaking change in existing TypeScript / JavaScript code
36+
* [ ] This wouldn't change the runtime behavior of existing JavaScript code
37+
* [ ] This could be implemented without emitting different JS based on the types of the expressions
38+
* [ ] This isn't a runtime feature (e.g. new expression-level syntax)
39+

.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.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Please help us by doing the following steps before logging an issue:
2424
-->
2525

2626
<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->
27-
**TypeScript Version:** 2.7.0-dev.201xxxxx
27+
**TypeScript Version:** 3.0.0-dev.201xxxxx
2828

2929
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
3030
**Search Terms:**

.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: 8 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
@@ -40,8 +43,10 @@ scripts/buildProtocol.js
4043
scripts/ior.js
4144
scripts/authors.js
4245
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
@@ -68,4 +73,6 @@ tests/cases/user/*/**/*.d.ts
6873
!tests/cases/user/zone.js/
6974
!tests/cases/user/bignumber.js/
7075
!tests/cases/user/discord.js/
71-
tests/baselines/reference/dt
76+
tests/baselines/reference/dt
77+
.failed-tests
78+
TEST-results.xml

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@
3434
path = tests/cases/user/axios-src/axios-src
3535
url = https://github.com/axios/axios.git
3636
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: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ Michael <maykelchiche@gmail.com>
139139
Mike Busyrev <busyrev@gmail.com>
140140
Mine Starks <minestarks@users.noreply.github.com> Mine Starks <mineyalc@microsoft.com>
141141
Mohamed Hegazy <mhegazy@microsoft.com>
142-
ncoley <nrcoley@gmail.com> # Natalie Coley
143142
Nathan Shively-Sanders <nathansa@microsoft.com> Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
144143
Nathan Yee <ny.nathan.yee@gmail.com>
145144
Nima Zahedi <nima.zahedee@gmail.com>
@@ -164,7 +163,7 @@ Rostislav Galimsky <rostgal@gmail.com>
164163
Richard Knoll <riknoll@users.noreply.github.com> Richard Knoll <riknoll@microsoft.com>
165164
Richard Karmazín <richard@karmazin.cz>
166165
Rowan Wyborn <rwyborn@internode.on.net>
167-
Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com> Ryan Cavanaugh <ryan.cavanaugh@microsoft.com> Ryan Cavanaugh <ryanca@microsoft.com>
166+
Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com> Ryan Cavanaugh <ryan.cavanaugh@microsoft.com> Ryan Cavanaugh <ryanca@microsoft.com> Ryan Cavanaugh <the.ryan.cavanaugh@gmail.com>
168167
Ryohei Ikegami <iofg2100@gmail.com>
169168
Sarangan Rajamanickam <sarajama@microsoft.com>
170169
Sébastien Arod <sebastien.arod@gmail.com>
@@ -308,7 +307,7 @@ Remo H. Jansen <remo.jansen@wolksoftware.com>
308307
Sean Barag <sjbarag@gmail.com>
309308
Sharon Rolel <sharonrolel@gmail.com>
310309
Stanislav Iliev <gigobest2@gmail.com>
311-
Wenlu Wang <805037171@163.com> wenlu.wang <805037171@163.com> kingwl <805037171@163.com>
310+
Wenlu Wang <805037171@163.com> wenlu.wang <805037171@163.com> kingwl <805037171@163.com> 王文璐 <kingwenlu@gmail.com> 王文璐 <wenlu.wang@chaitin.com>
312311
Wilson Hobbs <wilsonhobbs1@gmail.com>
313312
Yuval Greenfield <ubershmekel@gmail.com>
314313
Daniel <nieltg@users.noreply.github.com> # @nieltg
@@ -321,4 +320,42 @@ AdityaDaflapurkar <adaflapurkar@gmail.com> # Aditya Daflapurkar
321320
Eric Grube <grubee79@gmail.com>
322321
Martyn Janes <martyn@obany.com>
323322
Ricardo N Feliciano <FelicianoTech@gmail.com>
324-
Sergii Bezliudnyi <serg.bezludny@gmail.com>
323+
Sergii Bezliudnyi <serg.bezludny@gmail.com>
324+
Adrien Gibrat <adrien.gibrat@gmail.com>
325+
Alex Ryan <ialexryan@users.noreply.github.com>
326+
Alexader <alexander.v.tarasyuk@gmail.com> Alexander T <alexander.v.tarasyuk@gmail.com> # Alexander Tarasyuk
327+
Andrew Faulkner <andfaulkner@gmail.com>
328+
Artem Tyurin <artem.tyurin@uber.com>
329+
Brandon Slade <brandonyoyoslade@gmail.com>
330+
Derek P Sifford <dereksifford@gmail.com>
331+
Dhruv Rajvanshi <dhruvrajvanshi@outlook.com>
332+
Holger Jeromin <mailgithub@katur.de>
333+
Jordi Oliveras Rovira <jordi.oliveras.rovira@gmail.com>
334+
Joscha Feth <joscha@canva.com> Joscha Feth <joscha@feth.com>
335+
Ken703 <bowden.kenny@gmail.com> # Bowden Kenny
336+
Kevin Donnelly <kpdonn@users.noreply.github.com>
337+
Maarten Sijm <M.P.Sijm@student.tudelft.nl>
338+
Paul Koerbitz <paul.koerbitz@gmail.com>
339+
EcoleKeine <Ecole_k@qq.com> # Ecole Keine
340+
Khải <hvksmr1996@gmail.com>
341+
rhysd <lin90162@yahoo.co.jp> # @rhysd
342+
Zen <843968788@qq.com> Zzzen <843968788@qq.com> # @Zzzen
343+
bluelovers <codelovers@users.sourceforge.net> # @bluelovers
344+
Dan Freeman <dfreeman@salsify.com>
345+
David Sherret <dsherret@gmail.com>
346+
David Staheli <dastahel@microsoft.com>
347+
Elizabeth Dinella <elizabeth.a.dinella@gmail.com>
348+
John Doe <github.john.doe@outlook.com>
349+
Kevin Gibbons <kevin@shapesecurity.com>
350+
Markus Johnsson <markus.johnsson@infviz.com>
351+
Martin Probst <martin@probst.io>
352+
Mateusz Burzyński <mateuszburzynski@gmail.com>
353+
Steven <steven@ceriously.com> # @styfle
354+
Pi Lanningham <pi.lanningham@gmail.com>
355+
Sam Bostock <sam.bostock@shopify.com>
356+
Vimal Raghubir <vraghubir0418@gmail.com>
357+
Vyacheslav Pukhanov <vyacheslav.pukhanov@gmail.com>
358+
dangoo <daniel.gooss@sinnerschrader.com> # Daniel Gooss
359+
krk <keremkat@gmail.com> # Kerem Kat
360+
micnic <micnic90@gmail.com> # Nicu Micleușanu
361+
rflorian <rflorian@users.noreply.github.com> # @rflorian

.npmignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
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
@@ -21,6 +19,10 @@ Jakefile.js
2119
.circleci
2220
.vscode/
2321
.parallelperf.json
22+
.mailmap
2423
test.config
2524
package-lock.json
2625
yarn.lock
26+
.github/
27+
CONTRIBUTING.md
28+
TEST-results.xml

0 commit comments

Comments
 (0)