Skip to content

Commit

Permalink
Merge branch 'master' into constructor-narrow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingwl committed Aug 9, 2018
2 parents b7432d1 + 1a05f13 commit cd7dd47
Show file tree
Hide file tree
Showing 11,169 changed files with 1,243,921 additions and 609,816 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
50 changes: 0 additions & 50 deletions .circleci/config.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
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.1.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? -->
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
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. new expression-level syntax)

15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/Question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Question
about: The issue tracker is not for questions. Please use Stack Overflow or other resources for help writing TypeScript code.

---

THE ISSUE TRACKER IS NOT FOR QUESTIONS.

DO NOT CREATE A NEW ISSUE TO ASK A QUESTION.

IF YOU ARE HAVING PROBLEMS WITH YOUR TYPESCRIPT CODE, DO NOT ASK A QUESTION HERE.

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.

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.
2 changes: 1 addition & 1 deletion issue_template.md → .github/issue_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Please help us by doing the following steps before logging an issue:
-->

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

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
Expand Down
17 changes: 17 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!--
Thank you for submitting a pull request!
Here's a checklist you might find useful.
* [ ] There is an associated issue that is labeled
'Bug' or 'help wanted' or is in the Community milestone
* [ ] Code is up-to-date with the `master` branch
* [ ] You've successfully run `jake runtests` locally
* [ ] You've signed the CLA
* [ ] There are new or updated unit tests validating the change
Refer to CONTRIBUTING.MD for more details.
https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md
-->

Fixes #

9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
.node_modules/
built/*
tests/cases/rwc/*
tests/cases/test262/*
Expand All @@ -22,6 +23,8 @@ tests/services/browser/typescriptServices.js
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
Expand All @@ -40,8 +43,10 @@ scripts/buildProtocol.js
scripts/ior.js
scripts/authors.js
scripts/configurePrerelease.js
scripts/open-user-pr.js
scripts/processDiagnosticMessages.d.ts
scripts/processDiagnosticMessages.js
scripts/produceLKG.js
scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.js
scripts/generateLocalizedDiagnosticMessages.js
scripts/*.js.map
Expand All @@ -68,4 +73,6 @@ tests/cases/user/*/**/*.d.ts
!tests/cases/user/zone.js/
!tests/cases/user/bignumber.js/
!tests/cases/user/discord.js/
tests/baselines/reference/dt
tests/baselines/reference/dt
.failed-tests
TEST-results.xml
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@
path = tests/cases/user/axios-src/axios-src
url = https://github.com/axios/axios.git
ignore = all
[submodule "tests/cases/user/prettier/prettier"]
path = tests/cases/user/prettier/prettier
url = https://github.com/prettier/prettier.git
ignore = all
45 changes: 41 additions & 4 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ Michael <[email protected]>
Mike Busyrev <[email protected]>
Mine Starks <[email protected]> Mine Starks <[email protected]>
Mohamed Hegazy <[email protected]>
ncoley <[email protected]> # Natalie Coley
Nathan Shively-Sanders <[email protected]> Nathan Shively-Sanders <[email protected]>
Nathan Yee <[email protected]>
Nima Zahedi <[email protected]>
Expand All @@ -164,7 +163,7 @@ Rostislav Galimsky <[email protected]>
Richard Knoll <[email protected]> Richard Knoll <[email protected]>
Richard Karmazín <[email protected]>
Rowan Wyborn <[email protected]>
Ryan Cavanaugh <[email protected]> Ryan Cavanaugh <[email protected]> Ryan Cavanaugh <[email protected]>
Ryan Cavanaugh <[email protected]> Ryan Cavanaugh <[email protected]> Ryan Cavanaugh <[email protected]> Ryan Cavanaugh <[email protected]>
Ryohei Ikegami <[email protected]>
Sarangan Rajamanickam <[email protected]>
Sébastien Arod <[email protected]>
Expand Down Expand Up @@ -308,7 +307,7 @@ Remo H. Jansen <[email protected]>
Sean Barag <[email protected]>
Sharon Rolel <[email protected]>
Stanislav Iliev <[email protected]>
Wenlu Wang <[email protected]> wenlu.wang <[email protected]> kingwl <[email protected]>
Wenlu Wang <[email protected]> wenlu.wang <[email protected]> kingwl <[email protected]> 王文璐 <[email protected]> 王文璐 <[email protected]>
Wilson Hobbs <[email protected]>
Yuval Greenfield <[email protected]>
Daniel <[email protected]> # @nieltg
Expand All @@ -321,4 +320,42 @@ AdityaDaflapurkar <[email protected]> # Aditya Daflapurkar
Eric Grube <[email protected]>
Martyn Janes <[email protected]>
Ricardo N Feliciano <[email protected]>
Sergii Bezliudnyi <[email protected]>
Sergii Bezliudnyi <[email protected]>
Adrien Gibrat <[email protected]>
Alex Ryan <[email protected]>
Alexader <[email protected]> Alexander T <[email protected]> # Alexander Tarasyuk
Andrew Faulkner <[email protected]>
Artem Tyurin <[email protected]>
Brandon Slade <[email protected]>
Derek P Sifford <[email protected]>
Dhruv Rajvanshi <[email protected]>
Holger Jeromin <[email protected]>
Jordi Oliveras Rovira <[email protected]>
Joscha Feth <[email protected]> Joscha Feth <[email protected]>
Ken703 <[email protected]> # Bowden Kenny
Kevin Donnelly <[email protected]>
Maarten Sijm <[email protected]>
Paul Koerbitz <[email protected]>
EcoleKeine <[email protected]> # Ecole Keine
Khải <[email protected]>
rhysd <[email protected]> # @rhysd
Zen <[email protected]> Zzzen <[email protected]> # @Zzzen
bluelovers <[email protected]> # @bluelovers
Dan Freeman <[email protected]>
David Sherret <[email protected]>
David Staheli <[email protected]>
Elizabeth Dinella <[email protected]>
John Doe <[email protected]>
Kevin Gibbons <[email protected]>
Markus Johnsson <[email protected]>
Martin Probst <[email protected]>
Mateusz Burzyński <[email protected]>
Steven <[email protected]> # @styfle
Pi Lanningham <[email protected]>
Sam Bostock <[email protected]>
Vimal Raghubir <[email protected]>
Vyacheslav Pukhanov <[email protected]>
dangoo <[email protected]> # Daniel Gooss
krk <[email protected]> # Kerem Kat
micnic <[email protected]> # Nicu Micleușanu
rflorian <[email protected]> # @rflorian
8 changes: 5 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
built
doc
Gulpfile.ts
Gulpfile.js
internal
issue_template.md
jenkins.sh
lib/README.md
lib/enu
netci.groovy
pull_request_template.md
scripts
src
tests
Expand All @@ -21,6 +19,10 @@ Jakefile.js
.circleci
.vscode/
.parallelperf.json
.mailmap
test.config
package-lock.json
yarn.lock
.github/
CONTRIBUTING.md
TEST-results.xml
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ branches:
- master
- release-2.7
- release-2.8
- release-2.9
- release-3.0

install:
- npm uninstall typescript --no-save
Expand Down
48 changes: 26 additions & 22 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
// Available variables which can be used inside of strings.
// ${workspaceRoot}: the root folder of the team
// ${file}: the current opened file
// ${fileBasename}: the current opened file's basename
// ${fileDirname}: the current opened file's dirname
// ${fileExtname}: the current opened file's extension
// ${cwd}: the current working directory of the spawned process
{
"version": "0.1.0",
"command": "gulp",
"isShellCommand": true,
"showOutput": "silent",
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"taskName": "local",
"isBuildCommand": true,
"showOutput": "silent",
"problemMatcher": [
"$tsc"
]
"type": "shell",
"identifier": "local",
"label": "gulp: local",
"command": "gulp",
"args": ["local"],
"group": { "kind": "build", "isDefault": true },
"problemMatcher": ["$gulp-tsc"]
},
{
"taskName": "tests",
"showOutput": "silent",
"problemMatcher": [
"$tsc"
]
"type": "shell",
"identifier": "tsc",
"label": "gulp: tsc",
"command": "gulp",
"args": ["tsc"],
"group": "build",
"problemMatcher": ["$gulp-tsc"]
},
{
"type": "shell",
"identifier": "tests",
"label": "gulp: tests",
"command": "gulp",
"args": ["tests"],
"group": "build",
"problemMatcher": ["$gulp-tsc"]
}
]
}
Loading

0 comments on commit cd7dd47

Please sign in to comment.