Andy
deef6cd88c
Update LKG ( #23844 )
2018-05-03 08:02:41 -07:00
csigs
e582535dea
LEGO: Merge pull request 23856
...
LEGO: Merge pull request 23856
2018-05-03 03:10:51 -07:00
csigs
3387be886f
LEGO: check in for master to temporary branch.
2018-05-03 10:10:31 +00:00
csigs
254d284ec0
LEGO: Merge pull request 23852
...
LEGO: Merge pull request 23852
2018-05-02 21:10:41 -07:00
csigs
e06c12e2a9
LEGO: check in for master to temporary branch.
2018-05-03 04:10:20 +00:00
Armando Aguirre
1d593fd81e
Merge pull request #23191 from armanio123/AddVueSupport
...
Added deferred ScriptKind and renamed JsFileExtensionInfo to FileExte…
2018-05-02 18:13:34 -07:00
Ron Buckton
5b7bec898b
Merge pull request #23839 from Microsoft/libsJson
...
Centralize lib management for build
2018-05-02 18:10:34 -07:00
Ron Buckton
88d5d6fccc
Merge pull request #23834 from Microsoft/generateNamesEarlier
...
Pre-generate names ahead of time
2018-05-02 17:51:37 -07:00
Armando Aguirre
b8ddc0dabb
Rollback fileExtensionIs
2018-05-02 17:17:55 -07:00
Wesley Wigham
9c40d276ab
Downlevel destructuring in module transformer if destructured variable has multiple names ( #23832 )
...
* Downlevel destructuring in module transformer if destructured variable has multiple names
* Alter indentation
2018-05-02 16:20:47 -07:00
Wesley Wigham
b5b7fc4f1d
Flag default imports with named imports as needing importStar ( #23795 )
...
* Flag default imports with named imports as needing importStar
* Restructure helpers a bit, add double-default testcase
2018-05-02 16:20:34 -07:00
Ron Buckton
147aeaba9d
Centralize lib management for build
2018-05-02 15:49:52 -07:00
Andy
306418e171
fixAddMissingMember: Add a new PropertyDeclaration at the end of the first set ( #23837 )
2018-05-02 15:42:05 -07:00
Andy
5aa0a79dac
Use 'firstDefined' in 'enablePlugin' ( #23825 )
2018-05-02 15:37:22 -07:00
csigs
d8b0791fe8
LEGO: Merge pull request 23840
...
LEGO: Merge pull request 23840
2018-05-02 15:10:49 -07:00
csigs
e3fc4446b5
LEGO: check in for master to temporary branch.
2018-05-02 22:10:30 +00:00
Ron Buckton
ab8c3fa3ac
Pre-generate names ahead of time
2018-05-02 13:34:14 -07:00
csigs
291e44e7e3
LEGO: Merge pull request 23820
...
LEGO: Merge pull request 23820
2018-05-02 09:10:42 -07:00
csigs
ac3ee5356c
LEGO: check in for master to temporary branch.
2018-05-02 16:10:20 +00:00
Wesley Wigham
081322ba30
Add VSTS Build status badge to README ( #23789 )
2018-05-01 17:41:11 -07:00
Wesley Wigham
c663645c91
Inform getDeclarationSpaces about how an imported exportAssignment may merge ( #23816 )
2018-05-01 17:24:30 -07:00
csigs
ffc931c913
LEGO: Merge pull request 23813
...
LEGO: Merge pull request 23813
2018-05-01 15:11:07 -07:00
csigs
11ef342b92
LEGO: check in for master to temporary branch.
2018-05-01 22:10:44 +00:00
Andy
333b8ff028
Fix typo: ||
should be parenthesized ( #23811 )
2018-05-01 14:59:58 -07:00
Andy
a1f9a4fb24
fixCannotFindModule: Special handling for node core modules like "fs" ( #23807 )
...
* fixCannotFindModule: Special handling for node core modules like "fs"
* Hardcode @types/node
2018-05-01 14:33:42 -07:00
Anders Hejlsberg
3bfbe68b5a
Merge pull request #23806 from Microsoft/objectAndUnconstrainedTypeParameter
...
Unconstrained type variable not assignable to 'object'
2018-05-01 13:24:16 -07:00
Anders Hejlsberg
0066b02772
Accept new baselines
2018-05-01 13:06:19 -07:00
Anders Hejlsberg
4c933aef9a
Check that test cases produce expected types
2018-05-01 13:05:49 -07:00
Andy
9f4abe2d79
Improve completions testing ( #23591 )
2018-05-01 13:00:13 -07:00
Anders Hejlsberg
ce2dea98ca
Accept new baselines
2018-05-01 12:44:55 -07:00
Anders Hejlsberg
59355cbfdb
Add regression tests
2018-05-01 12:44:46 -07:00
Anders Hejlsberg
1de8c65678
Unconstrained type parameter not assignable to 'object'
2018-05-01 12:38:29 -07:00
Andy
cee4289f58
Add code fix to convert 'require' in a '.ts' file to an 'import' ( #23711 )
...
* Add code fix to convert 'require' in a '.ts' file to an 'import'
* Only add suggestion for modules
* Revert "Only add suggestion for modules"
This reverts commit b1a728fdac
.
2018-05-01 09:24:02 -07:00
Nathan Shively-Sanders
5ea4d3b2bb
No error for require, module.exports or exports in Javascript ( #23743 )
...
* No error for require
Still errors for module and exports, and require's type is now
incorreclty 'any'; I broke module resolution somehow. Needs
investigation.
* module/exports symbols+update isCommonJsRequire
Everything passes the tests but the code can be improved
* Update baselines
* Cleanup
* Update baselines of new tests
* Get rid of exports symbol
It wasn't doing anything anyway.
2018-04-30 15:47:59 -07:00
csigs
5c8bb7c985
LEGO: Merge pull request 23792
...
LEGO: Merge pull request 23792
2018-04-30 15:11:19 -07:00
csigs
7eb6a8f803
LEGO: check in for master to temporary branch.
2018-04-30 22:10:57 +00:00
Nathan Shively-Sanders
7cda045d52
Always export typedefs ( #23723 )
...
* Always export typedefs
This actually just required deleting a check in declareModuleMembers
and checking for external AND commonjs modules in a couple of places.
However, while experimenting with this feature, I discovered that even
previously-exported typedefs would only be exported if they came after a
commonjs export node. So I added a commonjs check to the pass in the
parser. It will not catch nested module.exports, but it will catch
top-level assignments.
The new test tests both changes.
* Post-bind typedef instead of pre-checking for commonjs
* Duplicate identifier errors
* Fix class type reference resolution+update baselines
* Move to a type-based check for duplicate identifiers
2018-04-30 14:55:26 -07:00
Mohamed Hegazy
0bbf4d5c48
Merge pull request #23785 from dsifford/dsifford-lib-intl-fix
...
add lib.es2018.intl + fix lib.es2017.intl
2018-04-30 14:45:15 -07:00
Derek P Sifford
1b118a4469
remove modifications to lib/*
2018-04-30 16:39:01 -04:00
Wesley Wigham
0c244d86b3
Add used-before-declaration errors for class refs inside computed names ( #23784 )
2018-04-30 12:55:30 -07:00
Sheetal Nandi
96b2cf8aba
Merge pull request #23597 from Microsoft/inferredProjects
...
Do not remove inferred project till next file open so we can reuse them
2018-04-30 12:54:15 -07:00
Sheetal Nandi
cec5aafcbf
Merge pull request #23783 from Microsoft/tscWatchInfo
...
More detailed log during watch in tsc showing what the watcher is invoked for.
2018-04-30 12:53:59 -07:00
Wesley Wigham
4be87e6771
Remove circle & jenkins ( #23752 )
2018-04-30 12:51:48 -07:00
Derek P Sifford
cc0c82c014
add lib.es2018.intl + fix lib.es2017.intl
...
closes #23691
2018-04-30 15:17:00 -04:00
Mohamed Hegazy
2c956af927
Merge pull request #23664 from a-tarasyuk/feature/strictPropertyInitialization-can-not-be-used-without-strictNullChecks
...
Add warn that user can not use --strictPropertyInitialization without --strictNullChecks
2018-04-30 12:10:54 -07:00
Anders Hejlsberg
83bc70dd63
Merge pull request #23782 from Microsoft/controlFlowNullTypeAndLiteral
...
Control flow for null type vs. literal
2018-04-30 11:38:00 -07:00
Anders Hejlsberg
a286cffb5b
Accept new baselines
2018-04-30 10:44:53 -07:00
Anders Hejlsberg
0dc42fea74
Add regression tests
2018-04-30 10:43:55 -07:00
Anders Hejlsberg
672d2144fa
Check for null type instead of null keyword
2018-04-30 10:43:43 -07:00
Sheetal Nandi
33ba2509a2
Merge pull request #23753 from Microsoft/emptyOptions
...
Handle the test case when tsconfig file changes without needing to update the program
2018-04-30 10:42:14 -07:00