27638 Commits

Author SHA1 Message Date
Andrew Branch
8c51115be1
Merge pull request #30734 from andrewbranch/bug/30664
Fall back from `globalReadonlyArrayType` to `globalArrayType` when transpiling
2019-04-04 11:57:08 -07:00
Andrew Branch
14722dfdaa
Add/update baselines 2019-04-04 11:47:26 -07:00
Andrew Branch
da3fdd11c1
Fix arity error sometimes reaching out of bounds of the arguments actually present 2019-04-04 11:47:26 -07:00
Andrew Branch
8576018af1
Add failing test for function calls that have at least one non-spread argument, a spread argument, and overall potentially too few arguments 2019-04-04 11:47:25 -07:00
Nathan Shively-Sanders
762a557fcc Update TypeScript-React-Native-Starter
Add a 'path' field to test.json.
2019-04-04 11:37:15 -07:00
Josh Goldberg
e767ee0472 Merge branch 'master' into property-use-before-declare 2019-04-04 14:05:19 -04:00
Daniel Rosenwasser
586ecbf1d7
Merge pull request #30552 from Microsoft/omit
Add the Omit helper type
2019-04-04 13:37:33 -04:00
Nathan Shively-Sanders
1e7482ad05 Update DOM 04-04-2019 2019-04-04 10:27:48 -07:00
Daniel Rosenwasser
71af02f745 Updated annoying 'globalTypes' list. 2019-04-04 10:16:43 -07:00
Daniel Rosenwasser
e8feaf9a3e Accepted baselines. 2019-04-04 10:09:55 -07:00
Daniel Rosenwasser
1dae8fcc30 Fix tests to be non-global. 2019-04-04 10:02:46 -07:00
Daniel Rosenwasser
13d2b8d617 Add the Omit helper type. 2019-04-04 10:01:34 -07:00
Andrew Branch
45ed0186a1
Make anonymous function formatting apply to anonymous generators too 2019-04-03 17:21:20 -07:00
Josh Goldberg
236fed9445 Fixed post-merge introduced lint errors 2019-04-03 18:09:33 -04:00
Sheetal Nandi
7ccd86bf52 When old program resolved to module and that file is included, dont consider as ambient resolution.
Fixes #30422
2019-04-03 14:05:49 -07:00
Daniel Rosenwasser
b8f6ae4e25 Accepted baselines. 2019-04-03 13:00:58 -07:00
Daniel Rosenwasser
24b1ec8681 Update version to '3.5.0'. 2019-04-03 13:00:47 -07:00
Ron Buckton
8a19e4bcf9
Merge pull request #30726 from Microsoft/fix30653
Treat hoisted temp variables as a custom prologue.
2019-04-03 11:54:37 -07:00
Andrew Branch
6c4b5ef8f2
Add new baselines 2019-04-03 11:27:54 -07:00
Andrew Branch
9475bf7d9e
Fall back from globalReadonlyArrayType to globalArrayType when transpiling 2019-04-03 11:27:53 -07:00
Sheetal Nandi
5869662c3f
Merge pull request #30721 from Microsoft/amdOut
Do not create multiple sourceFile to single outputFile with project redirect as the output file is included by default
2019-04-03 10:39:28 -07:00
Benjamin Lichtman
78b0956474
VS IntelliCode-related changes (#30731)
* ensure configurePlugin gives a response

* Update tests

* Update baseline

* Enable global plugin loading for external projects

* Fix lint errors
2019-04-03 10:36:04 -07:00
Alexander T
75a812b4db add new message - TS1258 (#30704) 2019-04-03 09:49:34 -07:00
Andrew Branch
fed46ea3bf
Merge pull request #30719 from andrewbranch/bug/30668
Fix crash when binding deep module.exports assignment
2019-04-03 09:19:36 -07:00
Josh Goldberg
6661f90b44 Accepted odd new baseline 2019-04-03 09:00:42 -04:00
Josh Goldberg
ee4e90c1fb Merge branch 'master' into property-use-before-declare 2019-04-03 08:35:22 -04:00
Josh Goldberg
3c8ce9b316 Addressed quick feedback items 2019-04-03 08:32:51 -04:00
Ron Buckton
f04a40dd49 Treat hoisted temp variables as a custom prologue 2019-04-02 17:35:26 -07:00
Anders Hejlsberg
e79e0bd3e7 Accept new baselines 2019-04-02 15:22:45 -07:00
Anders Hejlsberg
1648d0c2ef Minor fixes 2019-04-02 15:22:22 -07:00
Sheetal Nandi
602aec2f7d Never create redirect for sourceFiles that get emitted to single output file
Fixes #30591
2019-04-02 14:55:48 -07:00
Sheetal Nandi
b559e813f4 Add test when module resolution resolves to original file of referenced project with --out
Test for #30591
2019-04-02 14:23:28 -07:00
Andrew Branch
3f3444be80
Merge pull request #30699 from andrewbranch/bug/30635
Fix ternaries where "true" is a parenthesized variable and "false" is a function expression
2019-04-02 14:03:11 -07:00
Andrew Branch
85135c38c1
Add baselines for new test 2019-04-02 14:02:29 -07:00
Andrew Branch
d6df34bc48
Don’t crash in forEachIdentifierInEntityName 2019-04-02 14:02:29 -07:00
Andrew Branch
c07f219cca
Add failing test 2019-04-02 14:02:23 -07:00
Andrew Branch
46ae059200
Merge pull request #30695 from andrewbranch/bug/30638
Add type error when destructuring zero elements from void
2019-04-02 13:23:31 -07:00
Sheetal Nandi
3fdd66bddf Report program's source files even when there are errors when building using --build mode 2019-04-02 13:22:22 -07:00
Wesley Wigham
ca98a50574
Use const contexts and tuple mapped types to simplify some explicitly elucidated types (#30654)
* Use const contexts and tuple mapped types to simplify some explicitly elucidated types

* Fix lint

* Further cleanup - refactor mapped type into its own alias for readability

* Slightly more cleanup - PragmaPsuedoMap neednt be partial, thus removing tons of nonull assertions

* Remove GH#18217 comments
2019-04-02 13:04:51 -07:00
Nathan Shively-Sanders
bf0dd79e4a Update user test submodules (#30705) 2019-04-02 12:49:39 -07:00
Andrew Branch
96660f6c00
Just look at the current node instead of context 2019-04-02 11:31:05 -07:00
Andrew Branch
96990800e3
Add new baselines 2019-04-02 11:17:22 -07:00
Andrew Branch
d198c5906f
Be stricter while parsing arrow function heads in conditional expressions 2019-04-02 11:17:21 -07:00
Anders Hejlsberg
d61a6935d3 More exploration of indexed access type constraints in type relations 2019-04-02 10:02:09 -07:00
TypeScript Bot
0830292633 Update user baselines (#30703) 2019-04-02 09:38:52 -07:00
Andrew Branch
abd448fe62
Remove unused arguments 2019-04-01 14:14:19 -07:00
Andrew Branch
f383c3c42d
Add test for parenthesized variable and function keyword within ternary 2019-04-01 14:11:30 -07:00
Andrew Branch
ae391497b0
Add new baselines for destructuring void 2019-04-01 13:36:07 -07:00
Andrew Branch
b4ec2e4f50
Handle destructuring zero elements from void 2019-04-01 13:34:27 -07:00
Andrew Branch
9a3149b967
Add failing tests for destructuring void 2019-04-01 13:33:41 -07:00