Gabriela Araujo Britto
|
17b89653c2
|
include trailing trivia after expression in getAdjustedEndPosition if endPosition is include
|
2019-02-19 14:20:37 -08:00 |
|
Gabriela Araujo Britto
|
78968b1281
|
don't provide refactor in js file
|
2019-02-19 09:10:27 -08:00 |
|
Gabriela Araujo Britto
|
a773046181
|
copy argument comments to property
|
2019-02-15 16:48:54 -08:00 |
|
Gabriela Araujo Britto
|
b6c8382c78
|
replace argument list instead of whole call when refactoring
|
2019-02-15 15:51:20 -08:00 |
|
Gabriela Araujo Britto
|
eef3da5b6b
|
create new ConfigurableStart and ConfigurableEnd options and rename them
|
2019-02-15 15:38:10 -08:00 |
|
Gabriela Araujo Britto
|
05e9d6c9de
|
fix reference checking
|
2019-02-13 15:34:18 -08:00 |
|
Gabriela Araujo Britto
|
ec0e734708
|
return function expression name in getFunctionDeclarationNames
|
2019-02-13 11:36:59 -08:00 |
|
Gabriela Araujo Britto
|
ef4db31e84
|
don't apply changes when unexpected reference is found
|
2019-02-13 11:35:44 -08:00 |
|
Gabriela Araujo Britto
|
dbd84996aa
|
don't apply refactor when parameter has decorators
|
2019-02-11 14:24:05 -08:00 |
|
Gabriela Araujo Britto
|
dba631de80
|
copy comments when refactoring
|
2019-02-11 12:02:51 -08:00 |
|
Gabriela Araujo Britto
|
26f8ddd46a
|
create functions for copying trailing comments and rename previous copyComment function
|
2019-02-11 12:01:02 -08:00 |
|
Gabriela Britto
|
7d86fda151
|
fix hasThisParameter to check for parameters length
|
2019-02-06 16:06:46 -08:00 |
|
Gabriela Britto
|
9270e58eaf
|
Merge branch 'master' into convert-to-named-parameters
|
2019-02-06 15:41:16 -08:00 |
|
Gabriela Britto
|
b87392c22c
|
fix duplication of leading and trailing comments on refactored function
|
2019-02-06 15:40:58 -08:00 |
|
Gabriela Britto
|
18b2b55387
|
add option to suppressLeadingAndTrailingTrivia non recursively
|
2019-02-06 15:38:59 -08:00 |
|
Anders Hejlsberg
|
d9ee86723a
|
Merge pull request #29740 from Microsoft/fixCircularMappedArrayTuple
Fix issues related to circular mapped array and tuple types
|
2019-02-06 13:24:19 -08:00 |
|
Nathan Shively-Sanders
|
33af4ea250
|
assertNever no longer crashes on string input (#29764)
|
2019-02-06 08:57:24 -08:00 |
|
Daniel Rosenwasser
|
4505eea92d
|
Merge pull request #29766 from Microsoft/USE-ALL-THE-ES2015-NAMES-WESLEY-WHAT-IS-SO-HARD-ABOUT-THAT
Expand "set your lib" suggestions to other commonly used ES2015 declarations
|
2019-02-05 18:31:16 -08:00 |
|
Daniel Rosenwasser
|
3382a2ea54
|
Give good error messages on more types.
|
2019-02-05 18:01:41 -08:00 |
|
Ryan Cavanaugh
|
eed9db5ec5
|
Merge pull request #28465 from alangpierce/enforce-const-enum-access-for-isolatedmodules
Change isolatedModules to allow const enum declaration and disallow access
|
2019-02-05 16:36:58 -08:00 |
|
Klaus Meinhardt
|
12edac0925
|
getEffectiveBaseTypeNode: only use JSDoc augments if there is extends (#29349)
|
2019-02-05 15:51:55 -08:00 |
|
Anders Hejlsberg
|
7c096576bc
|
Merge pull request #29756 from Microsoft/fixStrictPropertyInitialization
Revert change to strict property initialization checks
|
2019-02-05 15:10:30 -08:00 |
|
Anders Hejlsberg
|
2256d761a2
|
Revert change to strict property initialization checks
|
2019-02-05 12:40:25 -08:00 |
|
Ryan Cavanaugh
|
1ec8a71949
|
Merge pull request #29711 from jack-williams/switch-on-unknown
Fix #29710: Narrow unknown in switch
|
2019-02-05 09:08:52 -08:00 |
|
Anders Hejlsberg
|
ee10c247b7
|
Less aggressive logic for detecting circular mapped arrays and tuples
|
2019-02-04 17:36:09 -08:00 |
|
Nathan Shively-Sanders
|
2f9218f346
|
DOM update February 2019 (#29690)
* DOM update February 2019
* Update some baselines
* Update mappedTypeRecursiveInference baselines
|
2019-02-04 15:25:41 -08:00 |
|
Ryan Cavanaugh
|
4ff71ecb98
|
Merge pull request #29696 from Microsoft/filter-unknown
Use unknown for array predicates' return types
|
2019-02-04 13:26:29 -08:00 |
|
Ron Buckton
|
55762271af
|
Merge pull request #29695 from Microsoft/fixDtsTypeReferenceEmit
Fix type reference dts emit failure
|
2019-02-04 13:03:07 -08:00 |
|
Gabriela Britto
|
674800f25e
|
implement refactor for functions with a rest parameter
|
2019-02-04 12:52:27 -08:00 |
|
Anders Hejlsberg
|
b7c5c073f8
|
Merge pull request #29714 from Microsoft/fixInstanceofTypeofControlFlow
Fix instanceof and typeof control flow
|
2019-02-04 12:22:52 -08:00 |
|
Anders Hejlsberg
|
f86b635122
|
Merge pull request #29705 from Microsoft/fixParametersAndReturnType
Less restrictive Parameters<T> and ReturnType<T>
|
2019-02-04 12:08:29 -08:00 |
|
Ron Buckton
|
4756373967
|
Merge branch 'master' into fixDtsTypeReferenceEmit
|
2019-02-04 11:39:16 -08:00 |
|
Anders Hejlsberg
|
415c725bb9
|
Make exception for synthetic 'this.x' in narrowTypeByInstanceof
|
2019-02-03 15:23:07 -08:00 |
|
Jack Williams
|
25f9a1fec2
|
Fix lint errors
|
2019-02-03 22:44:15 +00:00 |
|
Jack Williams
|
54801cbd17
|
Merge branch 'master' into switch-on-unknown
|
2019-02-03 22:36:40 +00:00 |
|
Anders Hejlsberg
|
343e0f7fd9
|
Fix NarrowTypeByTypeof, NarrowTypeByInstanceof, isPropertyInitializedInConstructor
|
2019-02-03 08:19:22 -08:00 |
|
Jack Williams
|
3d0c7f3156
|
Narrow unknown in switch
|
2019-02-03 16:07:21 +00:00 |
|
Ryan Cavanaugh
|
0a041ee536
|
Merge pull request #28270 from AnyhowStep/json-parse-reviver-stringify-replacer-better-declaration
JSON.parse(), JSON.stringify() more specific declarations for #6955
|
2019-02-02 12:10:56 -08:00 |
|
Anders Hejlsberg
|
e7ad76ddc8
|
Less restrictive constraints in Parameters and ReturnType types
|
2019-02-02 09:28:21 -08:00 |
|
Alan Pierce
|
942b020081
|
Merge remote-tracking branch 'origin/master' into enforce-const-enum-access-for-isolatedmodules
|
2019-02-01 18:52:22 -08:00 |
|
Ryan Cavanaugh
|
efbe630a13
|
Use unknown for array predicates' return types
|
2019-02-01 17:05:04 -08:00 |
|
Gabriela Britto
|
bde97d1226
|
fix refactor to find super references
|
2019-02-01 16:43:44 -08:00 |
|
Ron Buckton
|
4b84f56b21
|
Fix type reference dts emit failure
|
2019-02-01 16:09:17 -08:00 |
|
Ryan Cavanaugh
|
a856a64a5c
|
Merge pull request #29446 from fuafa/infer-js-doc
fix quick fix infer parameter types from usage in js file
|
2019-02-01 13:55:31 -08:00 |
|
Ryan Cavanaugh
|
f81ea89564
|
Merge pull request #29136 from ajafff/usedbeforedeclaration-objectspread
property is used before its initialization: check more nodes
|
2019-02-01 13:46:37 -08:00 |
|
Gabriela Britto
|
bf25ba4650
|
Don't refactor if variable declaration has type annotation
|
2019-02-01 13:09:53 -08:00 |
|
Anders Hejlsberg
|
607f2ea4de
|
Merge pull request #29478 from Microsoft/fixContextualReturnTypes
Infer contextual types from generic return types
|
2019-02-01 12:31:08 -08:00 |
|
Ryan Cavanaugh
|
9d3707d671
|
Merge pull request #29665 from ajafff/readonly-error-message
clarify error message for 'readonly' type operator
|
2019-02-01 11:24:38 -08:00 |
|
Anders Hejlsberg
|
8827bed0e7
|
Merge pull request #29647 from Microsoft/noConstraintsDuringInference
Only check constraints in final phase of type inference
|
2019-02-01 10:54:08 -08:00 |
|
Andy Hanson
|
ed277b8ee9
|
Handle GetAccessor and SetAccessor in isThisless (#27869)
|
2019-02-01 10:50:04 -08:00 |
|