kingwl
bf42f5bd1c
avoid add missing member in declaration file
2019-01-25 12:05:45 +08:00
Andrew Casey
3a2f6a3ed1
Merge pull request #29470 from amcasey/InterfaceImplementations
...
Don't treat interfaces as implementations
2019-01-18 16:28:49 -08:00
Pranav Senthilnathan
d38c616e29
Fix resolution of properties from prototype assignment in JS ( #29302 )
...
* fix type derived from prototype assignment
* accept new baselines
* remove direct intersection with object literal assigned to prototype
* add tests
* change webpack submodule commit
* fix submodule commits
* comment and simplify getJSDocTypeReference
* remove circularity guards that aren't hit anymore
2019-01-18 16:00:18 -08:00
Wesley Wigham
20285e66e9
Include all flow nodes made within try blocks as antecedents for catch or finally blocks ( #29466 )
...
* Include all flow nodes made within `try` blocks as antecedents for `catch` or `finally` blocks
* Fix typo
2019-01-18 14:43:31 -08:00
Ron Buckton
b317334c2a
Merge pull request #29447 from Microsoft/fixGulp
...
Fix gulp builds not building some targets, use LKG by default
2019-01-17 17:19:42 -08:00
Andrew Casey
737fda928c
Don't treat interfaces as implementations
...
...even if they're in ambient contexts. Same for type aliases.
2019-01-17 15:45:01 -08:00
Wesley Wigham
addeff325b
Make the relationship between partial mapped types and the empty object not apply for subtype relationship ( #29384 )
2019-01-17 15:42:58 -08:00
Wesley Wigham
b6ae492009
Add missing arity check on second inference pass ( #29386 )
2019-01-17 15:21:17 -08:00
Sheetal Nandi
9bd23652ef
Merge pull request #29161 from Microsoft/incrementalBuild
...
Supports incremental build in tsc --b --w mode
2019-01-17 13:44:48 -08:00
Sheetal Nandi
900d6f7c90
renames
2019-01-17 12:29:23 -08:00
Sheetal Nandi
dbae2cba47
add missing type annotation
2019-01-17 11:54:43 -08:00
Wesley Wigham
31e8f022e8
Merge branch 'flapenguin-fix-generic-types-intersections'
2019-01-17 10:49:31 -08:00
Wesley Wigham
045a450972
Merge branch 'fix-generic-types-intersections' of git://github.com/flapenguin/TypeScript into flapenguin-fix-generic-types-intersections
2019-01-17 10:49:04 -08:00
Andrew Casey
94ca50177a
Merge pull request #29451 from amcasey/GH27937
...
Consider JSX namespace imports when moving statements between files
2019-01-17 10:19:02 -08:00
Sheetal Nandi
9f3b77a8bd
PR feedback
2019-01-17 09:23:20 -08:00
Andrew Casey
4029e70c97
Illustrate a case that isn't handled correctly
2019-01-16 19:24:51 -08:00
Andrew Casey
3e256e14dc
Add fourslash tests
2019-01-16 19:18:25 -08:00
Andrew Casey
7102de77d3
Consider JSX namespace imports when moving statements between files
...
Each of the old and new files should end up with a JSX namespace import
iff it contains JSX.
Fixes #27939
2019-01-16 18:55:27 -08:00
Ron Buckton
6b32f4edcb
Fix gulp builds not building some targets
2019-01-16 17:32:58 -08:00
TypeScript Bot
a9c5a0472f
Update user baselines ( #29444 )
2019-01-16 12:05:41 -08:00
Benjamin Lichtman
5fc8f1dd80
Add opt-in user preference for prefix and suffix text on renames ( #29314 )
...
* Add user preference to control renaming through exports
* Only impact renaming
* Update baselines
* Use flag to control all prefix and suffix text and imports
* [WIP] add tests
* Only skip export import specifier with flag
* [WIP] Update tests
* Update test
* Pick up preference from host and update test
* Shorten flag name
* Add missing utility function
* Update comment
* [WIP] rename flag and respond to cr
* [WIP] Add flag for forRelatedSymbol
* Use larger search symbol set for old-style rename
* Respond to CR
* Fix small error
* Fix type mismatch
* Update comment and remove unnecessary exprot
* Respond to CR
2019-01-16 10:58:07 -08:00
Wesley Wigham
41a7bf4b73
Fake up value declaration for synthetic jsx children symbol so they get excess property checked ( #29359 )
2019-01-15 22:31:57 -08:00
Daniel Rosenwasser
9cd5f2dd3c
Add regression test. ( #29433 )
2019-01-15 17:39:02 -08:00
Daniel Rosenwasser
adb4738cff
Merge pull request #28132 from a-tarasyuk/feature/28086
...
28086 - "--downlevelIteration errors should mention using later targets"
2019-01-15 14:06:57 -08:00
Wesley Wigham
49689894d7
Elaborate jsx children elementwise ( #29264 )
...
* Heavy WIP, but has good contextual typing fix
* Add arity error, refine messages and spans
* Small error message change
* Better error messages, text-specific message
2019-01-15 11:32:36 -08:00
Andrew Casey
35f64fa894
Merge pull request #29421 from amcasey/DisabledLSHardening
...
Harden telemetryOnOpenFile against disabled projects
2019-01-15 11:23:05 -08:00
Andrew Casey
3fb09630a8
Add regression test
2019-01-15 10:55:15 -08:00
Benjamin Lichtman
c5948bf068
Merge pull request #29385 from uniqueiniquity/renameImportPref
...
Add user preference to opt-in to renaming import paths
2019-01-15 10:29:57 -08:00
Ron Buckton
760b02b259
Merge pull request #29420 from Microsoft/fix29108
...
Remove overzealous simple relationship check for unique symbols
2019-01-15 09:47:13 -08:00
Sheetal Nandi
520e33fa51
PR feedback
2019-01-14 18:15:54 -08:00
Andrew Casey
b86cb27d0b
Fix trailing whitespace
2019-01-14 18:13:13 -08:00
Andrew Casey
104434182b
Harden telemetryOnOpenFile against disabled projects
...
As for syntax-only servers, we can't meaningfully report open-file
telemetry for projects with disabled language services.
Hopefully, a deeper fix will follow, but this solves the immediate
problem that VS disables the LS for all projects when it sees a failure
in applyChangedToOpenFiles (because it assumes the server state is
corrupt).
2019-01-14 17:43:06 -08:00
Ron Buckton
5763e2c3d4
Remove overzealous simple relationship check for unique symbols
2019-01-14 17:08:04 -08:00
Benjamin Lichtman
2c50ed3089
Respond to CR
2019-01-14 17:05:25 -08:00
Sheetal Nandi
d53619a30d
Merge pull request #29418 from Microsoft/exportEquals
...
Handle generating action for export equals with anonymous symbol
2019-01-14 16:12:32 -08:00
Sheetal Nandi
6e54cbdaff
Handle generating action for export equals with anonymous symbol
...
Fixes #28845
2019-01-14 15:32:13 -08:00
Sheetal Nandi
e745fca413
Fix typo
2019-01-14 14:35:05 -08:00
Sheetal Nandi
d69b2ea448
Merge pull request #29380 from Microsoft/sourceMap
...
Use the SourceMapSource to get line and column instead of current source file
2019-01-14 14:30:27 -08:00
Sheetal Nandi
ff97d86cfa
Fix typo
2019-01-14 14:00:22 -08:00
Wesley Wigham
3d2bf6a75f
Fix implement interface quickfix import types ( #29410 )
...
* Pass module specifier resolution host thru types constructed by implements quickfixes
* Add regression test
* Fix scope node for generated methods, fix lints
2019-01-14 13:56:27 -08:00
Wesley Wigham
dc0f4afe5e
Save & recalculate declare flag modifier on late printed statements ( #29412 )
...
* Save & recalculate declre flag modifier on late printed statements
* Accept related baseline updates
2019-01-14 13:53:04 -08:00
Sheetal Nandi
3943588793
CompilerHostLikeForCache rename
2019-01-14 12:48:22 -08:00
Sheetal Nandi
c909becdd5
Rename indexing variable
2019-01-14 12:44:37 -08:00
Sheetal Nandi
d4055a3234
Merge pull request #26017 from ajafff/rest-param-destructuring
...
allow BindingPattern in FunctionRestParameter
2019-01-14 10:58:19 -08:00
Gabriela Britto
e5708e1903
Merge pull request #29352 from Microsoft/qualified-name-param-tag-error
...
Qualified name param tag error
2019-01-14 10:28:08 -08:00
Alexander
ba94fd9e05
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/28086
2019-01-12 08:39:06 +02:00
Benjamin Lichtman
c88016d397
Fix comment
2019-01-11 14:52:47 -08:00
Sheetal Nandi
d1061579d3
Merge branch 'master' into sourceMap
2019-01-11 14:47:24 -08:00
Benjamin Lichtman
d029fae35c
Add user preference to opt-in to renaming import paths
2019-01-11 14:45:08 -08:00
Sheetal Nandi
c1edbb8522
Merge branch 'master' into incrementalBuild
2019-01-11 14:34:45 -08:00