1312 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan
f82c45eb98 Address PR 2017-06-15 13:40:57 -07:00
Kanchalai Tanglertsampan
0f489b8208 random commit 2017-06-05 13:39:04 -07:00
Yui T
2f476bf22f Merge branch 'master' into master-dynamicImport 2017-06-02 09:10:20 -07:00
Yui T
e6d7327c3f Address PR: error message, fix capitalization, only allow functionLikeDeclaration and ImportCall for create Promise, use fall through comment 2017-06-01 23:21:59 -07:00
Nathan Shively-Sanders
928da675ac Merge pull request #16156 from Microsoft/report-jsdoc-syntax-errors
Report JSDoc syntax errors
2017-05-31 16:21:32 -07:00
Nathan Shively-Sanders
2dd6627022 Report jsdoc syntax errors when checkJs is on 2017-05-30 13:32:46 -07:00
Kanchalai Tanglertsampan
27078f995e Merge branch 'master' into master-fix16092 2017-05-30 08:25:53 -07:00
Yui
f938caf8c8 Merge pull request #16134 from Microsoft/master-fix15250
[Master] Fix 15250 - treat "object" and "Object" the same in JSDoc type def
2017-05-30 08:07:39 -07:00
Yui T
10eae61aca Handle "object" as "Object" in JSDoc type expression 2017-05-29 21:47:39 -07:00
Yui T
4838eff2d7 "function" without followed by "(" should be considered as Global function type 2017-05-29 20:37:01 -07:00
Yui T
fe838bab2d Parse ts-style property tag 2017-05-27 19:10:53 -07:00
Yui T
9c102461d9 Rename parameterName to name 2017-05-26 19:08:08 -07:00
Yui T
d68038ad28 Support bracket for optional property 2017-05-25 22:34:48 -07:00
Kanchalai Tanglertsampan
faab927c8d Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/emitter.ts
#	src/compiler/parser.ts
#	src/compiler/transformers/module/module.ts
#	src/compiler/transformers/module/system.ts
2017-05-24 11:26:06 -07:00
Mohamed Hegazy
5ef6192c20 Allow export default interface. Related to issue 3792. (#16040)
* Allow export default interface. Related to issue 3792.

* Update exportDefaultAbstractClass test

* Allow default export to be a non-value for lookup purposes

* Add local usage to exportDefaultInterface test
2017-05-23 13:40:03 -07:00
Klaus Meinhardt
f8aae89157 Update more return types to include undefined (#15903)
* Update more return types

* Update types of forEachChild callbacks

* fix line endings
2017-05-23 09:54:02 -07:00
Andy Hanson
dc40f5d6b9 Merge branch 'master' into jsdoc 2017-05-17 07:17:32 -07:00
Klaus Meinhardt
5fb77a0901 Update return types of APIs (#15887)
* Update types.ts

* Update types in parser.ts and scanner.ts
2017-05-16 14:13:58 -07:00
Andy Hanson
38784b761a Support for JSDoc in services 2017-05-15 14:45:30 -07:00
Ron Buckton
22cf036ed9 Clean up naming, add documentation, flatten (some) nested commas 2017-05-12 09:57:39 -07:00
Ron Buckton
f45f7579fc Adds CommaList to avoid large deeply nested comma expressions 2017-05-11 23:51:20 -07:00
Joe Chung
64ea6803aa Support @arg and @argument synonyms for @param JSDoc tag
- Fix #15477
2017-05-06 22:11:38 -07:00
Yui T
feb41f7d7c Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/diagnosticMessages.json
#	src/compiler/program.ts
2017-04-26 15:35:30 -07:00
Yui T
e50667e49e Address minor PR comment 2017-04-26 15:02:54 -07:00
Yui T
2f61d472ed Address minor PR comment 2017-04-26 12:56:15 -07:00
Yui
a1a2006074 Merge pull request #15160 from Microsoft/master-jsxChildren
[Master] Type checking JSX children
2017-04-21 10:02:13 -07:00
Anders Hejlsberg
cef42c97fe Merge pull request #15104 from Microsoft/covariantCallbacks
Covariant checking for callback parameters
2017-04-18 11:35:21 -07:00
Andy Hanson
455492d887 Merge branch 'master' into fallthrough 2017-04-18 09:48:21 -07:00
Kanchalai Tanglertsampan
f6f0813528 Merge branch 'master' into master-jsxChildren
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/diagnosticMessages.json
2017-04-17 13:31:12 -07:00
Andy Hanson
c7d51a3053 Merge branch 'master' into refactor_findallrefs 2017-04-12 11:27:58 -07:00
Andy Hanson
a82ac45e36 Merge branch 'master' into fallthrough 2017-04-12 10:58:03 -07:00
Kanchalai Tanglertsampan
4562fd089c Store scanning information whether JSXText is just an all whitespaces 2017-04-11 14:55:26 -07:00
Kanchalai Tanglertsampan
f86a730371 Consider whitespace that won't be emitted to be different kind so that we won't include in typ-checking 2017-04-11 10:52:18 -07:00
Andy Hanson
ed5eca2b7b boolean-trivia lint rule: Enforce space between comment and argument 2017-04-11 09:44:58 -07:00
Anders Hejlsberg
eebd67f8d5 Fix callback types to match covariantly 2017-04-08 12:54:01 -07:00
Andy Hanson
7320891933 boolean-trivia lint rule: Lint for null/undefined too 2017-04-07 13:13:39 -07:00
Ryan Cavanaugh
d8a24e3a5b Merge pull request #15021 from RyanCavanaugh/lintFixes
Update linting to avoid typechecking for booleanTriviaRule
2017-04-05 12:26:58 -07:00
Andy
56510f167d Merge pull request #15009 from Microsoft/parseTypeReference
Simplify parseTypeReference
2017-04-05 07:15:50 -07:00
Ryan Cavanaugh
e3bb5d3f28 Update linting to avoid typechecking for booleanTriviaRule 2017-04-04 22:34:51 -07:00
Kanchalai Tanglertsampan
55430c46e6 Add boolean flag to not walk the tree if there is no dynamic import 2017-04-04 15:43:45 -07:00
Kanchalai Tanglertsampan
ca65996396 Merge branch 'master' into master-dynamicImport 2017-04-04 14:02:00 -07:00
Andy Hanson
2d3dd85632 Simplify parseTypeReference
Create the node first, rather than creating it later and setting its pos to another node that was created first.
2017-04-04 13:55:47 -07:00
Ron Buckton
fd081f40a8 Clean up literal emit 2017-04-03 14:17:03 -07:00
Mine Starks
af0b2d9768 Merge pull request #12856 from minestarks/includejsdoctags
Expose JSDoc tags through the language service
2017-03-31 17:58:41 -07:00
Nathan Shively-Sanders
a62869c81e Merge pull request #14657 from erikmcc/master
Allow export default abstract class. Related to issue 3792.
2017-03-31 14:56:39 -07:00
Kanchalai Tanglertsampan
11f6eaec5b Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/commandLineParser.ts
2017-03-29 10:51:05 -07:00
Andy Hanson
1cf765d664 Lint for fallthrough in switch 2017-03-27 15:09:00 -07:00
Andy Hanson
aa1c860f08 Merge branch 'master' into refactor_findallrefs 2017-03-27 11:31:07 -07:00
Kanchalai Tanglertsampan
486dc91f76 Change comment to jsdoc 2017-03-27 09:47:23 -07:00
Kanchalai Tanglertsampan
640f2c7371 Error when dynamic import has type arguments 2017-03-24 15:30:57 -07:00