Commit Graph

1069 Commits

Author SHA1 Message Date
Ron Buckton
8cb5333791 Verify JS function is constructor 2017-06-06 13:33:19 -07:00
Yui T
b9017795a0 Revert "Revert "[Master] wip-dynamic import" (#16264)"
This reverts commit ccc60c8b3b.
2017-06-05 17:16:29 -07:00
Andy
70564110c0 Make use of array helper functions (#16226)
* Make use of array helper functions

* Remove unnecessary 'ts.'
2017-06-05 14:11:43 -07:00
Mohamed Hegazy
ccc60c8b3b Revert "[Master] wip-dynamic import" (#16264) 2017-06-05 10:49:20 -07:00
Yui T
2f476bf22f Merge branch 'master' into master-dynamicImport 2017-06-02 09:10:20 -07:00
Ron Buckton
3ddbfcae8a Merge branch 'master' into fix15857 2017-05-31 14:58:24 -07:00
Andy
3eda9c627b Make node type predicates public (#16121)
* Make node type predicates public

* Rename isJSDocComment back to isJSDoc
2017-05-31 07:45:13 -07:00
Ron Buckton
615920672e Merge branch 'master' into fix15857 2017-05-30 17:41:45 -07:00
Ron Buckton
b69afd16dc PR Feedback 2017-05-30 12:34:37 -07:00
Ron Buckton
b8ee1691af Add wrapper to emit statics/decorators inside es5 class 2017-05-27 13:07:27 -07:00
Yui T
9c102461d9 Rename parameterName to name 2017-05-26 19:08:08 -07:00
Andy
3cd9f3d2d4 Support services for @typedef (#16087)
* Support services for @typedef

* Ensure JSDocTypeReference has SemanticMeaning.Type

* Get SemanticMeaning right
2017-05-26 09:52:46 -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
Andy Hanson
7b0bd090e2 findAllReferences: Make "isWriteAccess" handle special declaration kinds 2017-05-23 09:14:19 -07:00
Nathan Shively-Sanders
bc914c02e6 Merge pull request #15932 from Microsoft/decl-emit-class-expr-as-type-literal
Declaration-emit class expressions as type literals
2017-05-22 15:46:38 -07:00
Nathan Shively-Sanders
860e8e88c8 Add error for class exprs w/private properties 2017-05-22 14:49:35 -07:00
Nathan Shively-Sanders
515a0e8446 Merge pull request #15958 from Microsoft/make-getNameOfDeclaration-public
Make getNameOfDeclaration public
2017-05-22 10:32:46 -07:00
Nathan Shively-Sanders
3c6393afe1 More fix+cleanup in getNameOfDeclaration 2017-05-19 15:18:26 -07:00
Nathan Shively-Sanders
c70fa1e573 Remove incorrect code in getNameOfDeclaration 2017-05-19 15:08:24 -07:00
Nathan Shively-Sanders
6c4e747295 Add undefined to return of getNameOfDeclaration 2017-05-19 14:13:33 -07:00
Nathan Shively-Sanders
8db58bbd69 Make getNameOfDeclaration public 2017-05-19 13:19:18 -07:00
Andy Hanson
d646c727e7 Merge branch 'master' into jsdoc 2017-05-19 08:18:18 -07:00
Andy Hanson
ba884bc27b Merge branch 'master' into jsdoc 2017-05-19 08:14:52 -07:00
Andy
38ece3b703 Merge pull request #15737 from Microsoft/findAllRefs_module
Support find-all-references for a module specifier
2017-05-19 08:11:56 -07:00
Anders Hejlsberg
947abf5d6b Merge branch 'master' into literalEnumTypes
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/diagnosticMessages.json
#	src/compiler/types.ts
#	src/compiler/utilities.ts
#	src/services/completions.ts
2017-05-17 11:59:12 -07:00
Andy Hanson
0ff187c8ac Remove 'isDeclarationFile()' function, use '.isDeclarationFile' 2017-05-17 08:12:23 -07:00
Andy Hanson
dc40f5d6b9 Merge branch 'master' into jsdoc 2017-05-17 07:17:32 -07:00
Arthur Ozga
11019e4a4a Merge branch 'master' into typeToStringViaTypeNode 2017-05-16 15:35:31 -07:00
Arthur Ozga
0820f69270 respond to comments 2017-05-16 15:28:32 -07:00
Andy
ed7ae8060f Merge pull request #15880 from Microsoft/getDeclarationOfKind
getDeclarationOfKind: Improve type safety
2017-05-16 15:02:09 -07:00
Andy Hanson
badfcbfb43 findAncestor: Add generic overload for use with type predicates 2017-05-16 09:45:01 -07:00
Andy Hanson
ffa21fe271 getDeclarationOfKind: Improve type safety 2017-05-16 09:38:26 -07:00
Arthur Ozga
bba41a8a0c avoid ascii escaping literal text 2017-05-15 18:42:49 -07:00
Andy Hanson
38784b761a Support for JSDoc in services 2017-05-15 14:45:30 -07:00
Arthur Ozga
20a4e32bec parenthesization in factory 2017-05-15 10:19:00 -07:00
Andy Hanson
5eb2bd08ac findAllReferences: In export default foo, symbol name is foo 2017-05-15 08:34:05 -07:00
Ron Buckton
50e2912cd2 Merge pull request #15791 from Microsoft/fix13935
Adds CommaList to avoid large deeply nested comma expressions
2017-05-12 16:49:13 -07:00
Arthur Ozga
a32bc985bf respond to comments 2017-05-12 16:27:35 -07:00
Sheetal Nandi
303d7b209e Merge branch 'master' into completionListForClassElementDeclarations 2017-05-12 15:31:52 -07:00
Arthur Ozga
62dbf12825 Merge branch 'master' into typeToStringViaTypeNode 2017-05-12 13:09:43 -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
Nathan Shively-Sanders
9520108b9f Move Levenshtein distance out of public API
I had put it in the wrong half of utilities.ts.
2017-05-11 13:18:46 -07:00
Andy Hanson
2e36c83f77 isDeclarationName: Return false for LHS of import { x as y } and export { x as y } 2017-05-10 11:52:19 -07:00
Andy Hanson
71fb02c099 Support find-all-references for a module specifier 2017-05-10 11:02:17 -07:00
Nathan Shively-Sanders
3768daeeca Merge pull request #15594 from Microsoft/get-name-of-declaration-wrapper
Get name of declaration uniformly, even for JS-style assignment declarations.
2017-05-10 08:08:07 -07:00
Nathan Shively-Sanders
370b5618a0 Merge branch 'master' into spelling-correction 2017-05-09 10:01:03 -07:00
Arthur Ozga
51c76ac351 fix malformed nodes 2017-05-08 18:17:17 -07:00
Nathan Shively-Sanders
0080c5fd66 Merge branch 'master' into get-name-of-declaration-wrapper
This PR included a fix that I already checked in this morning.
2017-05-08 15:39:57 -07:00