Skip to content

Commit e6c573b

Browse files
author
Andy Hanson
committed
Merge branch 'master' into createRange
2 parents 01c9052 + 76573c6 commit e6c573b

File tree

2,884 files changed

+188545
-157514
lines changed

Some content is hidden

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

2,884 files changed

+188545
-157514
lines changed

.github/ISSUE_TEMPLATE/Bug_report.md

+37
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:** 2.9.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? -->
+39
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

+15
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.
File renamed without changes.

pull_request_template.md renamed to .github/pull_request_template.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
Thank you for submitting a pull request!
33
44
Here's a checklist you might find useful.
5-
[ ] There is an associated issue that is labeled
5+
* [ ] There is an associated issue that is labeled
66
'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
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
1111
1212
Refer to CONTRIBUTING.MD for more details.
1313
https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md
1414
-->
1515

1616
Fixes #
17+

.gitignore

+2
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/*
@@ -40,6 +41,7 @@ scripts/buildProtocol.js
4041
scripts/ior.js
4142
scripts/authors.js
4243
scripts/configurePrerelease.js
44+
scripts/open-user-pr.js
4345
scripts/processDiagnosticMessages.d.ts
4446
scripts/processDiagnosticMessages.js
4547
scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.js

.mailmap

+21-2
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ Remo H. Jansen <[email protected]>
308308
Sean Barag <[email protected]>
309309
Sharon Rolel <[email protected]>
310310
Stanislav Iliev <[email protected]>
311-
Wenlu Wang <[email protected]> wenlu.wang <[email protected]> kingwl <[email protected]>
311+
Wenlu Wang <[email protected]> wenlu.wang <[email protected]> kingwl <[email protected]> 王文璐 <[email protected]> 王文璐 <[email protected]>
312312
Wilson Hobbs <[email protected]>
313313
Yuval Greenfield <[email protected]>
314314
Daniel <[email protected]> # @nieltg
@@ -321,4 +321,23 @@ AdityaDaflapurkar <[email protected]> # Aditya Daflapurkar
321321
Eric Grube <[email protected]>
322322
Martyn Janes <[email protected]>
323323
Ricardo N Feliciano <[email protected]>
324-
Sergii Bezliudnyi <[email protected]>
324+
Sergii Bezliudnyi <[email protected]>
325+
Adrien Gibrat <[email protected]>
326+
Alex Ryan <[email protected]>
327+
Alexader <[email protected]> Alexander T <[email protected]> # Alexander Tarasyuk
328+
Andrew Faulkner <[email protected]>
329+
Artem Tyurin <[email protected]>
330+
Brandon Slade <[email protected]>
331+
Derek P Sifford <[email protected]>
332+
Dhruv Rajvanshi <[email protected]>
333+
Holger Jeromin <[email protected]>
334+
Jordi Oliveras Rovira <[email protected]>
335+
Joscha Feth <[email protected]> Joscha Feth <[email protected]>
336+
Ken703 <[email protected]> # Bowden Kenny
337+
Kevin Donnelly <[email protected]>
338+
Maarten Sijm <[email protected]>
339+
Paul Koerbitz <[email protected]>
340+
EcoleKeine <[email protected]> # Ecole Keine
341+
342+
rhysd <[email protected]> # @rhysd
343+
Zen <[email protected]> Zzzen <[email protected]> # @Zzzen

.npmignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ built
22
doc
33
Gulpfile.ts
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
@@ -24,3 +22,4 @@ Jakefile.js
2422
test.config
2523
package-lock.json
2624
yarn.lock
25+
.github/

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ branches:
1818
- master
1919
- release-2.7
2020
- release-2.8
21+
- release-2.9
2122

2223
install:
2324
- npm uninstall typescript --no-save

.vscode/tasks.json

+26-22
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
1-
// Available variables which can be used inside of strings.
2-
// ${workspaceRoot}: the root folder of the team
3-
// ${file}: the current opened file
4-
// ${fileBasename}: the current opened file's basename
5-
// ${fileDirname}: the current opened file's dirname
6-
// ${fileExtname}: the current opened file's extension
7-
// ${cwd}: the current working directory of the spawned process
81
{
9-
"version": "0.1.0",
10-
"command": "gulp",
11-
"isShellCommand": true,
12-
"showOutput": "silent",
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
135
"tasks": [
146
{
15-
"taskName": "local",
16-
"isBuildCommand": true,
17-
"showOutput": "silent",
18-
"problemMatcher": [
19-
"$tsc"
20-
]
7+
"type": "shell",
8+
"identifier": "local",
9+
"label": "gulp: local",
10+
"command": "gulp",
11+
"args": ["local"],
12+
"group": { "kind": "build", "isDefault": true },
13+
"problemMatcher": ["$gulp-tsc"]
2114
},
2215
{
23-
"taskName": "tests",
24-
"showOutput": "silent",
25-
"problemMatcher": [
26-
"$tsc"
27-
]
16+
"type": "shell",
17+
"identifier": "tsc",
18+
"label": "gulp: tsc",
19+
"command": "gulp",
20+
"args": ["tsc"],
21+
"group": "build",
22+
"problemMatcher": ["$gulp-tsc"]
23+
},
24+
{
25+
"type": "shell",
26+
"identifier": "tests",
27+
"label": "gulp: tests",
28+
"command": "gulp",
29+
"args": ["tests"],
30+
"group": "build",
31+
"problemMatcher": ["$gulp-tsc"]
2832
}
2933
]
3034
}

AUTHORS.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ TypeScript is authored by:
66
* Aditya Daflapurkar
77
* Adnan Chowdhury
88
* Adrian Leonhard
9+
* Adrien Gibrat
910
* Ahmad Farid
1011
* Akshar Patel
1112
* Alan Agius
1213
* Alex Chugaev
1314
* Alex Eagle
1415
* Alex Khomchenko
16+
* Alex Ryan
1517
* Alexander Kuvaev
1618
* Alexander Rusakov
19+
* Alexander Tarasyuk
1720
* Ali Sabzevari
1821
* Aliaksandr Radzivanovich
1922
* Aluan Haddad
@@ -22,6 +25,7 @@ TypeScript is authored by:
2225
* Andreas Martin
2326
* Andrej Baran
2427
* Andrew Casey
28+
* Andrew Faulkner
2529
* Andrew Ochsner
2630
* Andrew Stegmaier
2731
* Andrew Z Allen
@@ -34,6 +38,7 @@ TypeScript is authored by:
3438
* Armando Aguirre
3539
* Arnaud Tournier
3640
* Arnav Singh
41+
* Artem Tyurin
3742
* Arthur Ozga
3843
* Asad Saeeduddin
3944
* Avery Morin
@@ -49,6 +54,8 @@ TypeScript is authored by:
4954
* Blake Embrey
5055
* @bootstraponline
5156
* Bowden Kelly
57+
* Bowden Kenny
58+
* Brandon Slade
5259
* Brett Mayen
5360
* Bryan Forbes
5461
* Caitlin Potter
@@ -76,6 +83,8 @@ TypeScript is authored by:
7683
* David Sheldrick
7784
* David Souther
7885
* Denis Nedelyaev
86+
* Derek P Sifford
87+
* Dhruv Rajvanshi
7988
* Dick van den Brink
8089
* Diogo Franco (Kovensky)
8190
* Dirk Bäumer
@@ -84,6 +93,7 @@ TypeScript is authored by:
8493
* Donald Pipowitch
8594
* Doug Ilijev
8695
* @e-cloud
96+
* Ecole Keine
8797
* Elisée Maurer
8898
* Emilio García-Pumarino
8999
* Eric Grube
@@ -118,6 +128,7 @@ TypeScript is authored by:
118128
* Hendrik Liebau
119129
* Henry Mercer
120130
* Herrington Darkholme
131+
* Holger Jeromin
121132
* Homa Wong
122133
* Iain Monro
123134
* @IdeaHunter
@@ -155,6 +166,8 @@ TypeScript is authored by:
155166
* Jonathan Toland
156167
* Jonathan Turner
157168
* Jonathon Smith
169+
* Jordi Oliveras Rovira
170+
* Joscha Feth
158171
* Josh Abernathy
159172
* Josh Goldberg
160173
* Josh Kalderimis
@@ -170,7 +183,9 @@ TypeScript is authored by:
170183
* Keith Mashinter
171184
* Ken Howard
172185
* Kenji Imamula
186+
* Kevin Donnelly
173187
* Kevin Lang
188+
* Khải
174189
* Kitson Kelly
175190
* Klaus Meinhardt
176191
* Kris Zyp
@@ -179,6 +194,7 @@ TypeScript is authored by:
179194
* Lorant Pinter
180195
* Lucien Greathouse
181196
* Lukas Elmer
197+
* Maarten Sijm
182198
* Magnus Hiie
183199
* Magnus Kulke
184200
* Manish Giri
@@ -223,6 +239,7 @@ TypeScript is authored by:
223239
* Oussama Ben Brahim
224240
* Patrick Zhong
225241
* Paul Jolly
242+
* Paul Koerbitz
226243
* Paul van Brenk
227244
* @pcbro
228245
* Pedro Maltez
@@ -240,6 +257,7 @@ TypeScript is authored by:
240257
* Raj Dosanjh
241258
* Reiner Dolp
242259
* Remo H. Jansen
260+
* @rhysd
243261
* Ricardo N Feliciano
244262
* Richard Karmazín
245263
* Richard Knoll
@@ -309,4 +327,5 @@ TypeScript is authored by:
309327
* Yuval Greenfield
310328
* Zeeshan Ahmed
311329
* Zev Spitz
312-
* Zhengbo Li
330+
* Zhengbo Li
331+
* @Zzzen

0 commit comments

Comments
 (0)