Commit Graph

33920 Commits

Author SHA1 Message Date
Daniel Rosenwasser df1dd00f35 Added test. 2015-11-11 12:19:47 -08:00
Mohamed Hegazy 0c96d7b241 Merge pull request #5583 from basarat/ls/jsxSemantic
tsx : support tags in language service semantic tokenizer
2015-11-11 12:10:03 -08:00
Mohamed Hegazy 00aa3c8a38 Merge pull request #5569 from mihailik/patch-2
Use ts.indexOf instead of Array.prototype.indexOf
2015-11-11 11:46:46 -08:00
Nathan Shively-Sanders c1ea85fa72 Merge pull request #5588 from Microsoft/reexport-default-export
Reexport default export
2015-11-11 11:29:31 -08:00
Wesley Wigham c3af8bb6cc Merge branch 'master' into compute-common-source-dir 2015-11-11 10:57:36 -08:00
Wesley Wigham 5ea25ba9a0 remove whitespace 2015-11-11 10:57:32 -08:00
Daniel Rosenwasser 87230bcc1b Use 'getContextualType' for 'getContextualType'. 2015-11-11 10:55:33 -08:00
Nathan Shively-Sanders 9472c0be99 Remove now-unused function
`doesNameResolveToLocalSymbolForExportDefault` is no longer used, so
delete it.
2015-11-11 10:53:24 -08:00
zhengbli b9778e6d20 cr feedback 2015-11-11 10:31:09 -08:00
Daniel Rosenwasser 9c1796f714 Merge pull request #5607 from Microsoft/fixTypeApparentization
Only get the apparent type of a contextual type when needed
2015-11-11 10:27:08 -08:00
Nathan Shively-Sanders e62603ba85 Move export default check before module merge one
As suggested by Anders.
2015-11-11 08:51:37 -08:00
Daniel Rosenwasser b93394a7ac Added to comment. 2015-11-10 23:15:48 -08:00
Daniel Rosenwasser ce455dac2b Accepted baselines. 2015-11-10 22:43:07 -08:00
Daniel Rosenwasser 9d3d49d636 Only get the apparent type when necessary. 2015-11-10 22:30:35 -08:00
Yui T fe3fb17854 Use printVersion instead 2015-11-10 17:36:37 -08:00
Ryan Cavanaugh 9006b44ddf CR feedback 2015-11-10 17:17:30 -08:00
Wesley Wigham 65b90686e7 accept new baselines 2015-11-10 17:06:00 -08:00
Wesley Wigham cb15200378 fix lints 2015-11-10 16:58:10 -08:00
Wesley Wigham c5b0450219 Merge branch 'master' into duplicate-export-behavior 2015-11-10 16:56:43 -08:00
Wesley Wigham ebd7d2d93e extract method 2015-11-10 16:48:08 -08:00
Ryan Cavanaugh 1a0299d371 Missed some baseline files; address CR feedback 2015-11-10 16:26:36 -08:00
Daniel Rosenwasser 2a370c9aa7 Added tests for string literal types used as generic constraints. 2015-11-10 14:40:19 -08:00
Ron Buckton 5ac4b782e0 Merge branch 'master' into typesCleanup 2015-11-10 14:31:02 -08:00
Wesley Wigham 75364b6988 Merge pull request #5589 from weswigham/tsconfig-error-handling
Add handling for json parse errors in tsconfig
2015-11-10 14:01:38 -08:00
zhengbli f92d241888 Add file content as a parameter for the tsserver open command 2015-11-10 13:36:19 -08:00
Ron Buckton 79b7146d0b Cleanup of types 2015-11-10 13:30:26 -08:00
Wesley Wigham a1cf51faac use canonical filename function 2015-11-10 13:25:09 -08:00
Wesley Wigham 00130f1a68 Handle when using -p and config file not found 2015-11-10 13:20:28 -08:00
Nathan Shively-Sanders c289106c4d Merge pull request #5575 from Microsoft/apply-captured-outer-type-parameters
Apply captured outer type parameters
2015-11-10 13:15:00 -08:00
Nathan Shively-Sanders f3d2963ff7 Change back from jsdoc comment. 2015-11-10 13:13:58 -08:00
Vladimir Matveev 072e93898d Merge pull request #5535 from Microsoft/computedPropertiesInDestructuringPR
allow computed properties in destructuring, treat computed properties…
2015-11-10 13:11:05 -08:00
Wesley Wigham 97d170b388 Support to tests for absolute paths, add common src dir edgecase tests 2015-11-10 13:10:44 -08:00
Nathan Shively-Sanders 58b5d29c52 Improve comment 2015-11-10 13:05:30 -08:00
Daniel Rosenwasser f80a6c6e86 Accepted baselines. 2015-11-10 13:03:11 -08:00
Ryan Cavanaugh 3426aa6644 Test cleanup 2015-11-10 12:59:47 -08:00
Daniel Rosenwasser 3812745737 Added other tests for string literal types. 2015-11-10 12:59:45 -08:00
Ryan Cavanaugh c58f7d57d3 Cleanup 2015-11-10 12:37:23 -08:00
Vladimir Matveev 9da2d3ee3f merge with master 2015-11-10 12:22:48 -08:00
Wesley Wigham abc230195c Add handling for json parse errors 2015-11-10 12:12:14 -08:00
Ryan Cavanaugh a0d24e35ec Merge branch 'master' into statelessFunctionComponents
# Conflicts:
#	src/compiler/checker.ts
#	src/harness/harness.ts
2015-11-10 12:06:57 -08:00
Wesley Wigham 6dcf3cf756 Add case sensitivity-check, only error on failure when outDir is specified and resource based paths are found 2015-11-10 12:06:25 -08:00
Ryan Cavanaugh ad61788113 Merge pull request #5266 from Microsoft/javaScriptModules
JavaScript LS scaffolding + JS module inference
2015-11-10 11:59:09 -08:00
Daniel Rosenwasser 694c714cf5 Added test for parenthesized string literals. 2015-11-10 11:56:32 -08:00
Nathan Shively-Sanders e30a01db0f Add test case and accept baseline 2015-11-10 11:44:56 -08:00
Nathan Shively-Sanders 48e985d72f Prevent resolveName from ignoring default exports 2015-11-10 11:35:03 -08:00
Nathan Shively-Sanders 64e4cc306c Improve efficiency and naming
The unapplied outer parameters check now checks only whether the last
outer parameter is unapplied, and its name is now positive --
are-all-applied vs are-some-unapplied.
2015-11-10 08:55:24 -08:00
Basarat Syed cfc6ed2adb tsx : support tags in language service semantic tokenizer 2015-11-10 18:33:19 +11:00
Ryan Cavanaugh e30a64fbdf JSX SFC WIP 2015-11-09 23:10:04 -08:00
Jeffrey Morlan c72861ebd7 Add test case 2015-11-09 21:05:05 -08:00
Daniel Rosenwasser 9c284805ec Merge pull request #5185 from Microsoft/stringLiteralTypes
String literal types
2015-11-09 17:23:50 -08:00