Skip to content

2019-10-24 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4,335 commits into from
Oct 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4335 commits
Select commit Hold shift + click to select a range
1a614a2
Fix issue when types installed after watch/editor is opened for auto …
sheetalkamat Sep 30, 2019
ff5d38a
Merge pull request #33622 from microsoft/fix33580
ahejlsberg Sep 30, 2019
7f3c03d
Implement declaration emit for accessors in the js declaration emitte…
weswigham Sep 30, 2019
7ce793c
Merge pull request #33678 from microsoft/fix33617
ahejlsberg Sep 30, 2019
fcd9334
Add support for Optional Chaining (#33294)
rbuckton Sep 30, 2019
053388d
Merge pull request #33584 from orta/small_ts
Sep 30, 2019
f89de95
Allow special element access assignments to create declarations (#33537)
andrewbranch Sep 30, 2019
98cf317
Add error message for set accessor vsibility issues (#33683)
weswigham Sep 30, 2019
9a7fdad
Fix crash in contextual typing of defaulted element access declaratio…
weswigham Sep 30, 2019
6bd3b21
fix (lib): Loosen predicate return types of typed arrays, adapt docs …
MichaelTamm Sep 30, 2019
7c50bcc
nullish coalescing commit (#32883)
Kingwl Sep 30, 2019
7be7cba
Fixes binding well known symbol assignment via element access (#33687)
andrewbranch Sep 30, 2019
ab87993
Improve error message when reserved word is used as identifier
Oct 1, 2019
2d96a16
Merge pull request #33681 from microsoft/autoTypeReference
sheetalkamat Oct 1, 2019
453007d
LEGO: check in for master to temporary branch.
csigs Oct 1, 2019
8292af1
LEGO: Merge pull request 33705
csigs Oct 1, 2019
03a3589
Better error message for mistaken import (#40)
prime-optimus Oct 1, 2019
6b63c1b
Rename this function so it stops shadowing a local we use elsewhere (…
RyanCavanaugh Oct 1, 2019
a04f1eb
Better error message for mistaken import (#33706)
DanielRosenwasser Oct 1, 2019
933065b
Change error codes.
DanielRosenwasser Oct 1, 2019
e4d77f8
Update baselines.
DanielRosenwasser Oct 1, 2019
526ed52
Ensure prepend texts are set when skipping internals (#33694)
rbuckton Oct 1, 2019
20f42f4
Merge pull request #33709 from microsoft/moveMessageNumbers
DanielRosenwasser Oct 1, 2019
410ff90
Fix the third crash in the chrome user suite test by remembering to p…
weswigham Oct 1, 2019
29becf0
Update LKG (#33710)
rbuckton Oct 1, 2019
a3a55ca
Improve error message when reserved word is used as identifier (#33702)
DanielRosenwasser Oct 1, 2019
e196b66
LEGO: check in for master to temporary branch.
csigs Oct 2, 2019
6b881ee
LEGO: Merge pull request 33745
csigs Oct 2, 2019
8c96949
LEGO: check in for master to temporary branch.
csigs Oct 2, 2019
eb037f5
LEGO: Merge pull request 33759
csigs Oct 2, 2019
08aaf6a
Update user baselines (#33740)
Oct 2, 2019
a8bea77
Backfill TypeReference.typeArguments in the API (#33714)
weswigham Oct 2, 2019
58854a6
Revert old lkg and re lkg (#33769)
weswigham Oct 2, 2019
c774762
Fix crash in transformations (#33768)
rbuckton Oct 2, 2019
f23add7
Update user baselines (#33772)
Oct 3, 2019
dd62000
Update user baselines (#33773)
Oct 3, 2019
32d08c9
LEGO: check in for master to temporary branch.
csigs Oct 3, 2019
98458f2
LEGO: Merge pull request 33776
csigs Oct 3, 2019
8cfb38e
LEGO: check in for master to temporary branch.
csigs Oct 3, 2019
54aab85
LEGO: Merge pull request 33782
csigs Oct 3, 2019
9d04313
LEGO: check in for master to temporary branch.
csigs Oct 3, 2019
903a6c9
LEGO: Merge pull request 33789
csigs Oct 3, 2019
acf7aee
Add template .vscode/* settings, ignore real ones (#33758)
andrewbranch Oct 3, 2019
161e64f
LEGO: check in for master to temporary branch.
csigs Oct 3, 2019
c164d3d
LEGO: Merge pull request 33793
csigs Oct 3, 2019
3c794e9
Update user baselines (#33775)
Oct 3, 2019
d9d3e31
'amd' missing from error message for error TS1323
a-tarasyuk Oct 4, 2019
a3da2e7
update eslint. fix eslint @typescript-eslint/no-unnecessary-type-asse…
a-tarasyuk Oct 4, 2019
8fb50ba
Merge pull request #33804 from a-tarasyuk/feature/update-eslint
uniqueiniquity Oct 4, 2019
e2b4c12
Detect unbindable exports before setting CommonJS module indicator (#…
andrewbranch Oct 4, 2019
cc28464
Update user baselines (#33801)
Oct 4, 2019
feed4b9
Code following truthiness assertion with false argument is unreachable
ahejlsberg Oct 4, 2019
e9b464e
Update user baselines (#33816)
Oct 4, 2019
a47ac63
Fix for incorrect 'this' type for optional call (#33799)
rbuckton Oct 4, 2019
c7fc36f
LEGO: check in for master to temporary branch.
csigs Oct 4, 2019
7aea377
LEGO: Merge pull request 33820
csigs Oct 4, 2019
719b779
Reflect CFA effects of optional chains in equality checks
ahejlsberg Oct 4, 2019
2447bd7
Update tests
ahejlsberg Oct 4, 2019
7d32355
Accept new baselines
ahejlsberg Oct 4, 2019
27d9dbe
Update user baselines (#33817)
Oct 4, 2019
42500d0
Add tests
ahejlsberg Oct 4, 2019
464d1a7
Accept new baselines
ahejlsberg Oct 4, 2019
88b833e
Change link to tutorial in README
mrnugget Oct 5, 2019
f7b22a0
Support typeof and instanceof
ahejlsberg Oct 5, 2019
f885181
Add tests
ahejlsberg Oct 5, 2019
99cec3a
Accept new baselines
ahejlsberg Oct 5, 2019
d552675
Merge pull request #33825 from mrnugget/patch-1
Oct 5, 2019
afe6f4c
Merge pull request #33821 from microsoft/fix33806
ahejlsberg Oct 6, 2019
d415b57
Merge branch 'master' into falseAssertions
ahejlsberg Oct 6, 2019
eeaa752
Add tests
ahejlsberg Oct 6, 2019
e0bd810
Update tests
ahejlsberg Oct 6, 2019
064b296
Accept new baselines
ahejlsberg Oct 6, 2019
720964f
Fix bounds check
ahejlsberg Oct 6, 2019
92212ae
More succinct
ahejlsberg Oct 6, 2019
09a87b9
'amd' missing from error message for error TS1323 (#33803)
DanielRosenwasser Oct 7, 2019
154793a
Update user baselines (#33838)
Oct 7, 2019
01b3d41
Add external mapShim/debug modules (#33712)
rbuckton Oct 7, 2019
3d8252c
avoid space before dot question (#33840)
Kingwl Oct 8, 2019
f1c0300
Include project reference in release config so LKG build works (#33864)
weswigham Oct 8, 2019
8032984
Revert "Disallow incremental with noEmit"
sheetalkamat Oct 8, 2019
d45c545
Update user baselines (#33887)
Oct 9, 2019
ab181ff
LEGO: check in for master to temporary branch.
csigs Oct 9, 2019
3d130b7
LEGO: Merge pull request 33904
csigs Oct 9, 2019
e48cd3a
Fix noImplicitAny check on ambient private getters (#33896)
ajafff Oct 9, 2019
9823d82
Update user baselines (#33905)
Oct 9, 2019
161b90a
Update user baselines (#33909)
Oct 9, 2019
6104f74
Merge pull request #33831 from microsoft/falseAssertions
ahejlsberg Oct 9, 2019
87c905f
Handle string literals in merge conflict regions
amcasey Oct 9, 2019
834b3f7
Update issue templates
falsandtru Oct 9, 2019
3c123b6
Merge pull request #33914 from amcasey/ConflictMarker
amcasey Oct 9, 2019
114329a
Handle when import alias has to parent (therefore is synthetic module…
weswigham Oct 10, 2019
6162001
fix #33427 (#33486)
DanielRosenwasser Oct 10, 2019
ae4abc5
Merge pull request #33906 from falsandtru/github
Oct 10, 2019
144b81c
Use correct default project for file if that project is opened at lat…
sheetalkamat Sep 27, 2019
57d7edb
Merge pull request #33883 from microsoft/revert-32887-incrementalNoEmit
sheetalkamat Oct 10, 2019
35a6426
Merge pull request #33647 from microsoft/defaultProject
sheetalkamat Oct 10, 2019
fcdd5bd
Add assertion when classification has unexpected length
Oct 10, 2019
97a4a0e
Update user baselines (#34002)
Oct 12, 2019
7df1ab7
LEGO: check in for master to temporary branch.
csigs Oct 13, 2019
b0d967b
LEGO: Merge pull request 34111
csigs Oct 13, 2019
0d75038
Update user baselines (#34112)
Oct 13, 2019
a8b9f96
Use control flow analyzer for switch case fallthrough checks
ahejlsberg Oct 13, 2019
cc817bc
Add tests
ahejlsberg Oct 13, 2019
21758a8
Accept new baselines
ahejlsberg Oct 13, 2019
1820df1
Update DOM from TSJS-lib-generator (#33753)
RReverser Oct 14, 2019
e146f0d
Allow inferFromUsage to do auto-imports (#33915)
andrewbranch Oct 14, 2019
c2f2ac1
Update user baselines (#34345)
Oct 14, 2019
b7c85c7
Update Math.round in es5.d.ts (#33920)
lekoaf Oct 14, 2019
827427f
Add test for --tsbuildinfo not as absolute or relative path
sheetalkamat Oct 14, 2019
4b10145
Make sure commandline options are absolute paths so they dont conflic…
sheetalkamat Oct 14, 2019
758bd99
Add test for #30457
sheetalkamat Oct 14, 2019
c9d407b
Merge pull request #34403 from microsoft/commandlinePath
sheetalkamat Oct 15, 2019
bb4872b
Do not write build info if there are no files to emit
sheetalkamat Oct 15, 2019
3438681
CR feedback + Consistent error spans on case/default clauses
ahejlsberg Oct 15, 2019
00505ad
Accept new baselines
ahejlsberg Oct 15, 2019
850d16e
Add forceDtsEmit flag to getEmitOutput
sheetalkamat Oct 15, 2019
cbcb59c
Properly attach alias symbol to `readonly T[]` types
ahejlsberg Oct 15, 2019
9c073ab
Accept new baselines
ahejlsberg Oct 15, 2019
a685ac4
Merge pull request #34212 from microsoft/fix34021
ahejlsberg Oct 15, 2019
f25575e
Typofix: `..._OutputsSkupped` -> `..._OutputsSkipped`
elibarzilay Oct 10, 2019
cd34808
Fixes missing error exit code when a bogus input file is specified
elibarzilay Oct 10, 2019
730a52b
Better format for the exit code test
elibarzilay Oct 14, 2019
29f9493
Fix crash when exporting+aliasing globalThis inside `declare global` …
sandersn Oct 15, 2019
d8d5ead
Restore 'type' and 'namespace' to All completion filter (#34491)
sandersn Oct 15, 2019
ab56cc0
Remove property-override-method error (#34494)
sandersn Oct 15, 2019
22c15a2
Merge pull request #34365 from elibarzilay/fix-exit-code-on-bogus-bui…
elibarzilay Oct 15, 2019
77f4d9f
Update user baselines (#34411)
Oct 15, 2019
2f48ff3
refactor(spelling): correct misspelled response
sQVe Oct 10, 2019
f24db4c
Merge pull request #33921 from sQVe/refactor/correct-misspelled-response
sheetalkamat Oct 16, 2019
aaadb17
Merge pull request #34495 from microsoft/forceDts
sheetalkamat Oct 16, 2019
2c4cf0d
Do not write build info if there are no files to emit
sheetalkamat Oct 15, 2019
408b176
doc(lib/es5): Fix grammar in DateConstructor.UTC documentation (#34509)
MartinJohns Oct 16, 2019
5106392
LEGO: check in for master to temporary branch.
csigs Oct 16, 2019
333436b
Some changes to incremental tests
sheetalkamat Oct 16, 2019
c8e6f1c
Convert some more tests into baselines
sheetalkamat Oct 16, 2019
348735a
Demo as baseline test instead
sheetalkamat Oct 16, 2019
3da51df
LEGO: Merge pull request 34514
csigs Oct 16, 2019
178417f
factory: correctly parenthesize conditional head (#34227)
ajafff Oct 16, 2019
4ed80b6
Stop pre-emptively creating directories
amcasey Oct 16, 2019
b6659e5
Inline function to tidy up control flow
amcasey Oct 16, 2019
c2eabdd
Write ExitStatus as enumng-rootDir-is-in-the-tsconfig.js
sheetalkamat Oct 16, 2019
7c0cc4a
empty files to baseline test
sheetalkamat Oct 16, 2019
e3cc4f4
missingExtendedConfig to baseline test
sheetalkamat Oct 16, 2019
25db0b0
Merge baselining and tsc logic into one
sheetalkamat Oct 16, 2019
4b13406
transitiveReferences as baseline
sheetalkamat Oct 16, 2019
928a4e7
resolveJsonModule as baseline test
sheetalkamat Oct 16, 2019
5390c64
rootDir tests are baselined
sheetalkamat Oct 16, 2019
e54d5ca
outFile to baseline
sheetalkamat Oct 16, 2019
c40ddb1
Does not add a duplicate completion when offering an export which was…
orta Oct 16, 2019
66ea16a
Sample to baseline output
sheetalkamat Oct 16, 2019
a4044ca
Add test for #34502
sheetalkamat Oct 16, 2019
0709bde
LEGO: check in for master to temporary branch.
csigs Oct 16, 2019
d020ac6
LEGO: Merge pull request 34526
csigs Oct 16, 2019
9fa7d8b
Use getNormalizedAbsolutePath to combine basePath and config value fo…
sheetalkamat Oct 16, 2019
1531c9e
Fix lint rules
sheetalkamat Oct 16, 2019
f3a234c
Dedupe inherited jsdoc comments (#34522)
sandersn Oct 16, 2019
d6663bf
Update bug template to link to nightly playground
connorjclark Oct 17, 2019
43cf899
Merge pull request #34530 from connorjclark/patch-1
Oct 17, 2019
85010fa
Make sure that global module re-exports are short-cutted to be added …
orta Oct 17, 2019
5d20c57
Merge pull request #34524 from orta/fix_32675
Oct 17, 2019
45d0ef9
factory: parenthesize for-of expression when necessary (#34229)
ajafff Oct 17, 2019
a95a25b
Fix completions of optional properties in generic positions (#33937)
andrewbranch Oct 17, 2019
f41b7b5
Fix quick info for methods whose contextual type is a mapped type pro…
andrewbranch Oct 17, 2019
262ec61
Make ImageData(Uint8ClampedArray)'s 3rd param optional (#34519)
sandersn Oct 17, 2019
f5dbcb7
Resolve more jsdoc value references as types (#34515)
sandersn Oct 17, 2019
f39b49d
Update another writeFile call-site
amcasey Oct 17, 2019
f32c2ea
Some changes to incremental tests
sheetalkamat Oct 16, 2019
5b5f88e
Add test with incremental program with only d.ts files
sheetalkamat Oct 17, 2019
afee423
Feedback on formatting
sheetalkamat Oct 17, 2019
6caa928
Fix scenario name
sheetalkamat Oct 17, 2019
4530d3e
Fixed scenario names
sheetalkamat Oct 17, 2019
4055689
Merge pull request #34487 from microsoft/skipTsBuildinfoEmit
sheetalkamat Oct 17, 2019
575339c
Merge branch 'master' into testChanges
sheetalkamat Oct 17, 2019
6d969f7
Merge pull request #34525 from microsoft/testChanges
sheetalkamat Oct 17, 2019
fde10a2
Merge branch 'master' into rootDir
sheetalkamat Oct 17, 2019
b3df23c
Accept module resolution trace baseline where baseUrl is specified as…
sheetalkamat Oct 17, 2019
454a3a0
Fix auto-imports from auto type acquisition definitions (#33766)
andrewbranch Oct 17, 2019
580e3f5
Merge pull request #34527 from microsoft/rootDir
sheetalkamat Oct 17, 2019
80cb807
LEGO: check in for master to temporary branch.
csigs Oct 17, 2019
a8dc7af
LEGO: Merge pull request 34549
csigs Oct 17, 2019
205b3da
Extract shared helper
amcasey Oct 17, 2019
caf0041
Add listFilesOnly command-line option
amcasey Oct 10, 2019
d18130d
Consolidate checks in emitFilesAndReportErrors
amcasey Oct 16, 2019
9dd8391
Add additional properties to switch declaration
amcasey Oct 17, 2019
8927aaa
Rewrite tests
amcasey Oct 17, 2019
526e413
Dropping assert for 3.7
amcasey Oct 17, 2019
d2fab65
Added test.
DanielRosenwasser Oct 18, 2019
7275e9c
Delete redundant test
amcasey Oct 18, 2019
73e9715
Added option 'includeAutomaticOptionalChainCompletions' to disable '?…
DanielRosenwasser Oct 18, 2019
15445e1
Add user preference to the protocol.
DanielRosenwasser Oct 18, 2019
3d7451c
Accepted baselines.
DanielRosenwasser Oct 18, 2019
85e0913
Update comment.
DanielRosenwasser Oct 18, 2019
30cca63
Accepted baselines.
DanielRosenwasser Oct 18, 2019
dd58bfc
Merge pull request #34505 from amcasey/ListFilesOnly
amcasey Oct 18, 2019
9ff9c41
Add completion test for partial generic object (#34559)
timsuchanek Oct 18, 2019
82f927f
Fix stack overflow in circular assignment declaration (#34543)
sandersn Oct 18, 2019
0fc3888
Remove redundant and misplaced perfLogger startup statement (#34551)
mrcrane Oct 18, 2019
65561a8
fix assertion condition
Oct 18, 2019
1bfc472
Merge pull request #33938 from uniqueiniquity/classifcationAssertion
uniqueiniquity Oct 18, 2019
d3df927
Optional chain control flow analysis fixes
ahejlsberg Oct 18, 2019
241de73
Merge pull request #34496 from microsoft/fix34272
ahejlsberg Oct 18, 2019
9b6a027
Perform checks prior to calling `addTypeProperties`.
DanielRosenwasser Oct 18, 2019
1d5add5
Emit computed property temps even w/o init w/useDefineForClassFields …
sandersn Oct 18, 2019
fa1884e
Fix crash in expando assignment to alias (#34566)
sandersn Oct 18, 2019
cdf1ab2
Bind @class in the right place -- bindWorker not bindChildrenWorker (…
sandersn Oct 18, 2019
218bbcd
Don't immediately return in getMemberSymbols.
DanielRosenwasser Oct 18, 2019
fbc070f
Extend tsconfig.release.json from the sibling tsconfig.json to ensure…
DanielRosenwasser Oct 18, 2019
91196fc
Ensure functions that have prototype properties assigned by Object.de…
andrewbranch Oct 18, 2019
98fe342
Handle more cases
ahejlsberg Oct 18, 2019
556da72
[WIP] Improve optional chaining checker performance (#33794)
rbuckton Oct 19, 2019
f334654
Ensure original files are included in tsconfig.release.json (#34584)
DanielRosenwasser Oct 19, 2019
b845800
Add option to configure automatic optional chain completions (#34552)
DanielRosenwasser Oct 19, 2019
0a0833b
Improve the launch template
orta Oct 18, 2019
e8782ae
Merge pull request #34574 from orta/add_docs_tsserver_debug
Oct 19, 2019
60b3915
And a few more
ahejlsberg Oct 19, 2019
d218a31
Add tests
ahejlsberg Oct 19, 2019
ee846d9
Accept new baselines
ahejlsberg Oct 19, 2019
8f15a2e
Fix type inference regression
ahejlsberg Oct 21, 2019
56520da
Add regression tests
ahejlsberg Oct 21, 2019
82019d6
Accept new baselines
ahejlsberg Oct 21, 2019
1d3ecc0
Ensure export= symbol from JavaScript always has a valueDeclaration (…
andrewbranch Oct 21, 2019
b167012
Extend the correct tsconfig.json.
DanielRosenwasser Oct 21, 2019
28028eb
Extend the correct tsconfig.json. (#34615)
DanielRosenwasser Oct 21, 2019
ff6626f
Merge pull request #34597 from microsoft/optionalChainControlFlow
ahejlsberg Oct 21, 2019
f84fd30
Merge pull request #34607 from microsoft/fix33490
ahejlsberg Oct 21, 2019
6429e4c
Fix undefined `this`
amcasey Oct 21, 2019
ca31f00
Address more potential `this` issues
amcasey Oct 21, 2019
1b0fca5
Update version to 3.8.
DanielRosenwasser Oct 21, 2019
def1e71
Accepted baselines.
DanielRosenwasser Oct 21, 2019
778a757
Change `master` branch version to 3.8 (#34629)
DanielRosenwasser Oct 21, 2019
af2f46e
Use longer lambda parameter names
amcasey Oct 21, 2019
7862e58
Handle undefined from getPropertyNameForPropertyNameNode
amcasey Oct 22, 2019
8cf1324
Merge pull request #34521 from amcasey/LazyDirectoryCreation
amcasey Oct 22, 2019
159b626
Merge pull request #34631 from amcasey/ComputedPropName
amcasey Oct 22, 2019
73a206b
Update the README links
orta Oct 22, 2019
1cbbe28
Treat any mix of element/prop access as declaration in JS (#34649)
sandersn Oct 22, 2019
479d306
Fix crash in assigning function with this ref to alias (#34650)
Knagis Oct 22, 2019
590fd3f
Don't assume that all symbols have declarations
amcasey Oct 22, 2019
6f04f52
Merge pull request #34659 from amcasey/FARGlobalThis
amcasey Oct 22, 2019
f689982
Prioritize loading plugin from probeLocations over peer node_modules
Oct 23, 2019
56b74d3
Merge pull request #34648 from orta/readme_links
Oct 23, 2019
eb08ee6
Add GitHub Actions (#34614)
Oct 23, 2019
8223c07
getTypeFromJSDocValueReference: handle import types (#34683)
sandersn Oct 23, 2019
07d3a2e
Do not consider element accesses which are neither statically bindabl…
weswigham Oct 23, 2019
969634b
Restore delayed merge check to getTypeFromJSDocValueReference (#34706)
sandersn Oct 24, 2019
d892fd4
Fix expando handling in getTypeReferenceType (#34712)
sandersn Oct 24, 2019
7cfa1df
Fix regression in mixin emit by removing unneeded line of code (#34715)
weswigham Oct 24, 2019
a03227d
Avoid a crash with `@typedef` in a script file. (#33847)
mprobst Oct 24, 2019
c404c08
Fix reachability analysis for ?? operator (#34702)
ahejlsberg Oct 24, 2019
5e4cd05
Update CONTRIBUTING.md
RyanCavanaugh Oct 24, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
49 changes: 49 additions & 0 deletions .dockerignore
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/configureTSCBuild.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/*.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
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/built/local/**
/tests/**
/lib/**
/src/lib/*.generated.d.ts
110 changes: 110 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
{
"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",
"@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",

"@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",

// 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-expressions": ["error", { "allowTernary": true }],
"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"
}
}
8 changes: 6 additions & 2 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ Please help us by doing the following steps before logging an issue:
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
<!--
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:**
Expand Down
12 changes: 9 additions & 3 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ 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.
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

-->

Expand All @@ -32,8 +36,10 @@ What shortcomings exist with current approaches?
## Checklist

My suggestion meets these guidelines:
* [ ] This wouldn't be a breaking change in existing TypeScript / JavaScript code

* [ ] 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)
* [ ] 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).

9 changes: 3 additions & 6 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
<!--
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
Please verify that:
* [ ] There is an associated issue in the `Backlog` milestone (**required**)
* [ ] Code is up-to-date with the `master` branch
* [ ] You've successfully run `jake runtests` locally
* [ ] You've signed the CLA
* [ ] You've successfully run `gulp runtests` locally
* [ ] 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 #

37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches:
- master
- release-*
pull_request:
branches:
- master
- release-*

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]

steps:
- uses: actions/checkout@v1
with:
fetch-depth: 5
- name: Use node version ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Remove existing TypeScript
run: |
npm uninstall typescript --no-save
npm uninstall tslint --no-save
- name: npm install and test
run: |
npm install
npm update
npm test
23 changes: 21 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,21 @@ tests/webTestServer.js.map
tests/webhost/*.d.ts
tests/webhost/webtsc.js
tests/cases/**/*.js
!tests/cases/docker/*.js/
tests/cases/**/*.js.map
*.config
scripts/eslint/built/
scripts/debug.bat
scripts/run.bat
scripts/word2md.js
scripts/buildProtocol.js
scripts/ior.js
scripts/authors.js
scripts/configurePrerelease.js
scripts/configureLanguageServiceBuild.js
scripts/createLanguageServiceBuild.js
scripts/open-user-pr.js
scripts/open-cherry-pick-pr.js
scripts/processDiagnosticMessages.d.ts
scripts/processDiagnosticMessages.js
scripts/produceLKG.js
Expand All @@ -56,8 +61,11 @@ internal/
**/.DS_Store
.settings
**/.vs
**/.vscode
**/.vscode/*
!**/.vscode/tasks.json
!**/.vscode/settings.template.json
!**/.vscode/launch.template.json
!**/.vscode/extensions.json
!tests/cases/projects/projectOption/**/node_modules
!tests/cases/projects/NodeModulesSearch/**/*
!tests/baselines/reference/project/nodeModules*/**/*
Expand All @@ -76,4 +84,15 @@ tests/cases/user/*/**/*.d.ts
tests/baselines/reference/dt
.failed-tests
TEST-results.xml
package-lock.json
package-lock.json
tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter
tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter
tests/cases/user/TypeScript-Vue-Starter/TypeScript-Vue-Starter
tests/cases/user/TypeScript-WeChat-Starter/TypeScript-WeChat-Starter
tests/cases/user/create-react-app/create-react-app
tests/cases/user/webpack/webpack
tests/cases/user/puppeteer/puppeteer
tests/cases/user/axios-src/axios-src
tests/cases/user/prettier/prettier
.eslintcache
40 changes: 0 additions & 40 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,40 +0,0 @@
[submodule "tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter"]
path = tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter
url = https://github.com/Microsoft/TypeScript-React-Starter
ignore = all
[submodule "tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter"]
path = tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
url = https://github.com/Microsoft/TypeScript-Node-Starter.git
ignore = all
[submodule "tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter"]
path = tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter
url = https://github.com/Microsoft/TypeScript-React-Native-Starter.git
ignore = all
[submodule "tests/cases/user/TypeScript-Vue-Starter/TypeScript-Vue-Starter"]
path = tests/cases/user/TypeScript-Vue-Starter/TypeScript-Vue-Starter
url = https://github.com/Microsoft/TypeScript-Vue-Starter.git
ignore = all
[submodule "tests/cases/user/TypeScript-WeChat-Starter/TypeScript-WeChat-Starter"]
path = tests/cases/user/TypeScript-WeChat-Starter/TypeScript-WeChat-Starter
url = https://github.com/Microsoft/TypeScript-WeChat-Starter.git
ignore = all
[submodule "tests/cases/user/create-react-app/create-react-app"]
path = tests/cases/user/create-react-app/create-react-app
url = https://github.com/facebook/create-react-app.git
ignore = all
[submodule "tests/cases/user/webpack/webpack"]
path = tests/cases/user/webpack/webpack
url = https://github.com/webpack/webpack.git
ignore = all
[submodule "tests/cases/user/puppeteer/puppeteer"]
path = tests/cases/user/puppeteer/puppeteer
url = https://github.com/GoogleChrome/puppeteer.git
ignore = all
[submodule "tests/cases/user/axios-src/axios-src"]
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
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ Ken Howard <ken@simplicatedweb.com>
Kevin Lang <klang2012@gmail.com>
kimamula <kenji.imamula@gmail.com> # Kenji Imamula
Kitson Kelly <me@kitsonkelly.com>
Krishnadas Babu <krishnadas100033@gmail.com>
Klaus Meinhardt <klaus.meinhardt1@gmail.com>
Kyle Kelley <rgbkrk@gmail.com>
Lorant Pinter <lorant.pinter@prezi.com>
Expand Down
14 changes: 12 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ netci.groovy
scripts
src
tests
tslint.json
Jakefile.js
.eslintrc
.eslintignore
.editorconfig
.failed-tests
.git
.git/
.gitattributes
.github/
.gitmodules
.settings/
.travis.yml
Expand All @@ -23,6 +28,11 @@ Jakefile.js
test.config
package-lock.json
yarn.lock
.github/
CONTRIBUTING.md
TEST-results.xml
.dockerignore
Dockerfile
.DS_Store
.eslintrc.json
.yarnrc
tmp
Loading