Ryan Cavanaugh
53106cb5ed
Change logic in identifying SFCs
...
Our logic for detecting SFC vs Element Class had a few issues:
* Object Type flag is not actually useful
* Parameter arity isn't actually relevant
* The check for Element Class should take priority
Fixes #6349 and #6353
2016-01-04 23:00:22 -08:00
vladima
635201c02a
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
2016-01-04 21:50:44 -08:00
Daniel Rosenwasser
5ab5cfd2fd
Contextually type the RHS of logical 'and' and comma expressions.
2016-01-04 22:54:37 -05:00
Ron Buckton
cde12efec5
Merge branch 'master' into glob2
2016-01-04 12:24:44 -08:00
Vladimir Matveev
39a50fa8a3
merge with origin/master
2016-01-04 12:07:26 -08:00
Daniel Rosenwasser
2cb7ab9692
Merge pull request #6232 from Microsoft/contextuallyTypeJsxStringLiteralAttributes
...
Contextually type JSX string literal attributes
2016-01-04 14:50:09 -05:00
Ron Buckton
c2249177f5
Comment cleanup
2016-01-04 11:37:25 -08:00
Mohamed Hegazy
996f16940e
Merge pull request #6098 from guybedford/master
...
Naive implementation for #6097
2016-01-04 09:38:27 -08:00
Nathan Shively-Sanders
b01de71d52
Fix lint in services/patternMatcher.ts
2016-01-04 09:04:53 -08:00
Nathan Shively-Sanders
ec4c6fea2d
Merge branch 'master' into lint-nested-++
2016-01-04 08:56:05 -08:00
Ryan Cavanaugh
0debd2b6cd
Merge pull request #6290 from RyanCavanaugh/fix5865
...
Tag 'react' import as used if it exists when targeting --jsx preserve
2016-01-04 07:47:01 -08:00
Wesley Wigham
7bb2ee56d0
Fix #6277 - stop looking for any specifically, and use isTypeSubtypeOf like the old code
2016-01-03 07:43:30 -05:00
Ryan Cavanaugh
6be0206242
Merge pull request #6287 from RyanCavanaugh/fix6241
...
Escape quotes when they appear as HTML entities in JSX text
2016-01-01 09:31:13 -08:00
Zhengbo Li
55ae18b824
update dom.generated.d.ts with latest version in TSJS repo
2015-12-30 14:23:47 -08:00
Daniel Rosenwasser
3765349812
Merge pull request #6279 from Microsoft/lintMoreServices
...
Lint more services code
2015-12-30 01:48:43 -05:00
Daniel Rosenwasser
99b771c016
Merge pull request #4398 from SaschaNaz/formatTsxAttr
...
Fixing JSX/TSX closing tag/attribute/expression formatting
2015-12-30 01:25:21 -05:00
Ryan Cavanaugh
2c4856ae71
Issue correct errors for missing JSX closing tags
...
Fixes #6280
2015-12-29 16:00:15 -08:00
Ryan Cavanaugh
80a16de570
Tag the 'react' import as used even under --jsx preserve
...
Fixes #5865
2015-12-29 14:43:57 -08:00
Ryan Cavanaugh
3288f5bb6d
Make linter happy
2015-12-29 13:16:00 -08:00
Ryan Cavanaugh
e12855bca0
Escape quotes when they appear as HTML entities in JSX text
...
Fixes #6241
2015-12-29 12:39:27 -08:00
Daniel Rosenwasser
2032c6d18a
Lint 'patternMatcher.ts'.
2015-12-28 17:21:03 -05:00
Zhengbo Li
8cf1a34f70
enable more than one callbacks for a watched file
2015-12-28 14:05:32 -08:00
Daniel Rosenwasser
51933a231f
Flattened 'ts.OutliningElementsCollector' to a single declaration.
2015-12-28 17:00:36 -05:00
Daniel Rosenwasser
f9eb330b19
Lint 'navigateTo.ts'.
2015-12-28 16:58:27 -05:00
Daniel Rosenwasser
9b9abf8674
Lint 'outliningElementsCollector.ts'.
2015-12-28 16:50:58 -05:00
Daniel Rosenwasser
4ec234aa93
Don't skip over specialized signatures when checking for assignability.
2015-12-28 15:59:25 -05:00
Daniel Rosenwasser
f1b84950ea
Removed checks for specialized signature compatibility and always perform the same checking on specialized and non-specialized signatures.
2015-12-28 15:59:20 -05:00
Vladimir Matveev
7f2ebf928a
use 'declare global' to define augmentations for the global scope
2015-12-28 12:03:54 -08:00
Kagami Sascha Rosylight
6373cfff64
lets and template strings
2015-12-24 17:21:03 +09:00
Kagami Sascha Rosylight
64958669e1
remove "this should be removed ..." codes
2015-12-24 17:18:10 +09:00
Daniel Rosenwasser
bae09d5d96
Merge branch 'master' into refactorSignatureRelatability
2015-12-23 17:27:55 -08:00
Daniel Rosenwasser
a0ef319f5d
Simplified JSX contextual typing code and added support for contextually typing string literal attribute initializers.
2015-12-23 17:10:16 -08:00
Vladimir Matveev
3e1bc01a86
address PR feedback
2015-12-23 10:01:36 -08:00
Kanchalai Tanglertsampan
5544fc0d85
fix crashing when get documentHighlighting
2015-12-22 20:39:09 -08:00
Sheetal Nandi
acf54bb416
Merge branch 'master' into sourceMapDestructuring
2015-12-22 16:21:38 -08:00
Nathan Shively-Sanders
34ddaef44c
Remove new lint from services.ts
2015-12-22 16:14:55 -08:00
Sheetal Nandi
ff00a0c779
Fix breakpoints in object literal pattern destructuring assignment
2015-12-22 16:14:24 -08:00
Zhengbo Li
56a7217241
Merge branch 'master' of https://github.com/Microsoft/TypeScript into i6016
2015-12-22 16:13:38 -08:00
Nathan Shively-Sanders
abf9961528
Merge branch 'master' into lint-nested-++
2015-12-22 16:12:07 -08:00
Nathan Shively-Sanders
401a393519
Fix ++/-- lint
2015-12-22 15:45:00 -08:00
Zhengbo Li
631363fee1
Fix lint issues
2015-12-22 15:38:52 -08:00
Zhengbo Li
caa6eb4204
Reuse watchers between 'watchDirectory' and 'watchFile'
2015-12-22 15:26:21 -08:00
Sheetal Nandi
bda112546f
Fix the breakpoint for comma expression
2015-12-22 15:23:45 -08:00
Sheetal Nandi
35537b5f32
Implement breakpoint spans of array destructuring pattern of destructuring assignment
2015-12-22 14:54:21 -08:00
Vladimir Matveev
4a963a26c3
initial revision of external module augmentations
2015-12-22 13:56:22 -08:00
Nathan Shively-Sanders
9ab9940fd0
Remove unused error for this-type predicates.
...
Also:
1. Remove notes I wrote myself for merging.
2. Switch to pattern matching on properties in a few places.
2015-12-22 11:48:01 -08:00
Nathan Shively-Sanders
7882fd39e7
Merge branch 'master' into allow-type-predicates-as-return-types-only
2015-12-22 11:25:45 -08:00
Vladimir Matveev
a399208d73
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
2015-12-22 11:06:18 -08:00
Kagami Sascha Rosylight
e97118e569
InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces
2015-12-22 18:30:07 +09:00
vladima
39605fe5f8
report pre-emit diagnostics that blocked emit
2015-12-21 21:43:51 -08:00