Arthur Ozga
5ea3ca4ef9
Merge branch 'master' into dev/aozgaa/JsDocExtendsSupport
2017-10-06 14:25:31 -07:00
Nathan Shively-Sanders
afa4842b2a
Merge pull request #16363 from Microsoft/excess-property-checks-for-discriminated-unions
...
Excess property checks for discriminated unions
2017-10-06 10:54:04 -07:00
Andy
3b9bbb3e55
Remove duplicate assignment ( #18994 )
2017-10-06 10:31:45 -07:00
Nathan Shively-Sanders
e1bc916b91
Merge branch 'master' into excess-property-checks-for-discriminated-unions
2017-10-06 09:18:57 -07:00
Wesley Wigham
7a4c3314e8
Visit default export expressions ( #18977 )
2017-10-05 16:47:24 -07:00
Daniel Rosenwasser
ea2021dd3e
Create fix for uninvoked decorators.
2017-10-05 11:43:14 -07:00
Daniel Rosenwasser
924460406e
Merge pull request #18811 from Microsoft/uncalledDecorator
...
Give a more helpful error message for certain decorators with too many arguments
2017-10-05 11:27:46 -07:00
Nathan Shively-Sanders
da6acba71e
Merge branch 'master' into excess-property-checks-for-discriminated-unions
2017-10-05 09:07:23 -07:00
Nathan Shively-Sanders
da41217f43
Binding element with parent type any is any
...
Previously if the binding element had an initializer, then that type
would be used. But this is incorrect:
```ts
function f(x: any) {
let { d = 1 } = x;
// d should have type any not number.
// f can be called with anything:
}
f({ d: 0 });
f({ d: 'hi' });
f({});
```
2017-10-04 15:15:29 -07:00
Andrew Casey
530e107d51
Merge pull request #18936 from amcasey/GH18899
...
Localize more Extract Function/Constant strings
2017-10-04 13:33:06 -07:00
Andy
efa274f722
When emitting all files, emit the changed file first ( #18930 )
...
* When emitting all files, emit the changed file first
* Export interface
2017-10-04 13:30:37 -07:00
Andrew Casey
02f2a29ca2
Stop combining already-translated strings
2017-10-04 12:39:32 -07:00
Andy
de9c459d5e
Clean up code in getModifierOccurrences ( #18948 )
2017-10-04 12:20:58 -07:00
Andy
fe9129b1ab
Support contextual type for property assignments in JS that are not declarations ( #18820 )
2017-10-04 09:32:09 -07:00
Andrew Casey
559689f66f
Localize more Extract Function/Constant strings
...
Fixes #18899
2017-10-03 17:18:12 -07:00
Andy
46e135b098
Fix parsing of qualified name in @augments ( #18914 )
2017-10-03 13:47:01 -07:00
Daniel Rosenwasser
301c90ccff
Merge pull request #18300 from Microsoft/correctlyCacheTaggedTemplates
...
Correctly cache tagged template objects in modules
2017-10-03 12:06:57 -07:00
Andy
b111493276
Remove unnecessary *OrUndefined calls ( #18889 )
...
* Remove unnecessary *OrUndefined calls
* Add 'first'
2017-10-03 10:24:39 -07:00
Nathan Shively-Sanders
4d8663c378
Merge pull request #18117 from Microsoft/jsdoc-dotdotdot-binds-tighter-than-postfix
...
Jsdoc ... binds tighter than postfix ?!
2017-10-03 08:45:26 -07:00
Daniel Rosenwasser
babe3cb931
Flatten the '__makeTemplateObject' helper to use less vertical screen real estate.
2017-10-03 00:36:02 -07:00
Mohamed Hegazy
ae3f29ade6
Accept baselines ( #18903 )
2017-10-02 19:08:13 -07:00
Daniel Rosenwasser
35cfcff0d4
Use 'getTextOfNode'.
2017-10-02 18:44:54 -07:00
Daniel Rosenwasser
96bb796730
Improve error message for uncalled decorators.
2017-10-02 17:59:34 -07:00
Sheetal Nandi
6997e9b731
Merge pull request #17269 from Microsoft/watchImprovements
...
Watch improvements in tsserver
2017-10-02 17:38:22 -07:00
Sheetal Nandi
8ac01d76f5
Separate namespace declarations in builder of intenal and exported interfaces and functions
2017-10-02 17:16:49 -07:00
Andy
3a2c723a69
Allow parsing a qualified type name containing a reserved word ( #18888 )
2017-10-02 17:04:28 -07:00
Andy
d620129d4a
Ensure getResolvedSignature never returns undefined ( #18883 )
2017-10-02 17:02:27 -07:00
Andrew Casey
2df7058af7
Merge pull request #18861 from amcasey/ConstantInsertionPosition
...
Improve insertion positions of extracted constants
2017-10-02 16:39:32 -07:00
Sheetal Nandi
4bb4711eff
Merge branch 'master' into watchImprovements
2017-10-02 16:34:43 -07:00
Sheetal Nandi
7f969e8138
Making APIs as internal so that we can enable them after we have figured out final details
2017-10-02 16:27:26 -07:00
Andrew Casey
ba5f09b66d
Localize 'in' in extraction description
2017-10-02 15:30:52 -07:00
Anders Hejlsberg
884c72efb4
Merge pull request #18654 from Microsoft/strictFunctionTypes
...
Strict function types
2017-10-02 23:09:17 +01:00
Anders Hejlsberg
bff843a9c9
Improve error elaboration for invariant generic types
2017-10-02 13:39:55 -07:00
Daniel Rosenwasser
b80b2eeaa3
Move first/last shortcuts closer to the end of the helper flags.
2017-10-02 13:23:57 -07:00
Sheetal Nandi
898559b4e5
Merge branch 'master' into watchImprovements
2017-10-02 12:34:34 -07:00
Sheetal Nandi
835153ba50
PR feedback
2017-10-02 12:22:05 -07:00
Andy
637ed57451
Fix crash when extending non-EntityNameExpression ( #18853 )
2017-10-02 10:39:03 -07:00
Andy
e6980722a6
Fix bug: Report errors on extends expression in JS even if an @augments tag is present ( #18854 )
2017-10-02 10:33:53 -07:00
Andy
a075ba9828
getSuggestionForNonexistentSymbol: Add comment ( #18885 )
2017-10-02 10:23:37 -07:00
Andy
d11172c86e
Use idText in a few more places ( #18842 )
2017-10-02 08:37:02 -07:00
Andy
b883fcbfdd
Enable "space-within-parens" lint rule ( #18856 )
2017-10-02 08:36:26 -07:00
Daniel Rosenwasser
a23d1bf3ea
Updated helper for marginally better minification.
2017-09-30 00:06:20 -07:00
Daniel Rosenwasser
86315ed411
Added test and adjusted reporting logic.
2017-09-29 22:01:00 -07:00
Daniel Rosenwasser
5da45fb6de
Addressed code review feedback.
2017-09-29 17:16:50 -07:00
Daniel Rosenwasser
08ef6e4bea
Accepted baselines.
2017-09-29 17:08:35 -07:00
Daniel Rosenwasser
966f370712
Use a better check.
2017-09-29 16:42:30 -07:00
Anders Hejlsberg
936f98d9ad
Addressing CR feedback
2017-09-29 16:01:14 -07:00
Sheetal Nandi
9e08caebf5
Merge branch 'master' into watchImprovements
2017-09-29 10:43:05 -07:00
Andy
683d6c7ddd
Add helper functions for using unescapeLeadingUnderscores ( #18793 )
...
* Add helper functions for using `unescapeLeadingUnderscores`
* More cleanup
2017-09-29 09:57:31 -07:00
Anders Hejlsberg
0756aa1753
Merge branch 'master' into strictFunctionTypes
2017-09-28 15:39:57 -07:00