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
Ron Buckton and GitHub
47bd4d3a87
Merge pull request #15531 from Microsoft/moreFactoryFuncs
...
More factory functions
2017-05-08 12:05:05 -07:00
Nathan Shively-Sanders
d35f6c3581
getNameOfDeclaration uniformly, including JS decls
...
JS-style assignment declarations have a name, but it's not stored on the
name property of the BinaryExpression. This commit adds
`getNameOfDeclaration` to uniformly get the name of a declaration.
It also reworks the declaration of `Declaration` so that accessing
`name` is an error unless the type does *not* include
BinaryExpression.
2017-05-04 16:12:54 -07:00
Arthur Ozga
4c0735218e
move import getCodeActions into named method
2017-05-02 15:52:17 -07:00
Ron Buckton
d37426d865
Fill out remaining factory functions
2017-05-01 13:40:47 -07:00
Andy Hanson
3590048d9b
unusedIdentifierFixes: Factor out nested switch statements and fix implicit fallthrough
2017-05-01 09:37:07 -07:00
Andy Hanson
455492d887
Merge branch 'master' into fallthrough
2017-04-18 09:48:21 -07:00
Arthur Ozga
cbbf6f8847
Merge branch 'master' into tripleEquals
2017-04-17 15:57:51 -07:00
Andy Hanson
a82ac45e36
Merge branch 'master' into fallthrough
2017-04-12 10:58:03 -07:00
Andy Hanson
ed5eca2b7b
boolean-trivia lint rule: Enforce space between comment and argument
2017-04-11 09:44:58 -07:00
Ryan Cavanaugh and GitHub
d8a24e3a5b
Merge pull request #15021 from RyanCavanaugh/lintFixes
...
Update linting to avoid typechecking for booleanTriviaRule
2017-04-05 12:26:58 -07:00
Arthur Ozga
3bdec6943e
Merge branch 'master' into tripleEquals
2017-04-05 11:51:21 -07:00
Ryan Cavanaugh
e3bb5d3f28
Update linting to avoid typechecking for booleanTriviaRule
2017-04-04 22:34:51 -07:00
Arthur Ozga
7e03429a8e
enforce triple-equals
2017-04-04 15:51:13 -07:00
Andy Hanson
73cab09608
Enable jsdoc-format lint rule
2017-04-03 14:39:19 -07:00
Mohamed Hegazy
0637f241b7
Merge remote-tracking branch 'origin/master' into checkJSFiles
2017-03-27 21:23:07 -07:00
Andy Hanson
1cf765d664
Lint for fallthrough in switch
2017-03-27 15:09:00 -07:00
Arthur Ozga
4329b4524e
Cleanup
2017-03-27 12:01:56 -07:00
Arthur Ozga
7340c4ca1e
type predicate support
2017-03-27 11:53:44 -07:00
Arthur Ozga
a7c166c4a5
optional signature
2017-03-24 12:56:54 -07:00
Arthur Ozga
82bd05bbc0
Merge branch 'master' into createTypeNode
2017-03-23 16:29:00 -07:00
Arthur Ozga
8915cb9a0f
Split signature factory methods
2017-03-23 13:41:54 -07:00
Mohamed Hegazy
db6c96967c
Change ingore diagonstic comment to // @ts-ignore
2017-03-22 16:23:21 -07:00
Mohamed Hegazy
e408cad618
Merge branch 'master' into checkJSFiles
2017-03-22 15:45:27 -07:00
Arthur Ozga
43e01f282b
remove trivia
2017-03-22 14:50:01 -07:00
Arthur Ozga
c4ddc5bffa
Respond to more comments
2017-03-22 12:54:51 -07:00
Arthur Ozga
5b739cf78c
respond to comments
2017-03-21 22:54:06 -07:00
Arthur Ozga
ff061a1b93
consolidate edits
2017-03-17 14:56:04 -07:00
Andy Hanson
2305c10a65
Fix lint errors
2017-03-17 13:54:18 -07:00
Arthur Ozga
944b34fd4e
move commas to end of line
2017-03-17 12:08:38 -07:00
Arthur Ozga
ac7fc8fe75
Handle TODO's
2017-03-17 11:54:51 -07:00
Arthur Ozga
4fa32a29ce
make enclosingdeclaration arg required
2017-03-16 18:02:57 -07:00
Arthur Ozga
a88be7c6f9
consolidate SignatureParts
2017-03-16 16:59:01 -07:00
Arthur Ozga
0fa4f112a3
signatures, parameter, literals, anyonymous types
2017-03-16 16:41:26 -07:00
Mohamed Hegazy
3b57b5d4d5
Refactor checking for checkJs value in a common helper
2017-03-15 15:17:33 -07:00
Mohamed Hegazy
0dac29f6f3
Merge branch 'master' into checkJSFiles
2017-03-15 12:35:26 -07:00
Mohamed Hegazy
798062944b
Code review comments
2017-03-15 12:27:47 -07:00
Vladimir Matveev and GitHub
2b10611fbf
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer ( #14441 )
...
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Arthur Ozga
758e1ff8b7
temp
2017-03-15 09:06:59 -07:00
Arthur Ozga
e185ebb8d5
simplify rest param handling
2017-03-14 18:24:00 -07:00
Arthur Ozga
18723d938f
Merge branch 'vladima/textChanges' into createTypeNode
2017-03-14 16:46:09 -07:00
Arthur Ozga
e381ffaac7
don't add any typenode for signature return type
2017-03-14 16:25:51 -07:00
Vladimir Matveev
d4bb267ee3
add insertNodeInListAfter functionality
2017-03-14 16:13:33 -07:00
Arthur Ozga
2fd3229568
Various fixes
...
* create type reference node from type parameters
* expose index signature synthesis
* widen types in helpers
* format unions
* use deep cloning
2017-03-14 14:35:23 -07:00
Mohamed Hegazy
fd9fb8f9bc
Support static properties
2017-03-13 22:50:21 -07:00
Mohamed Hegazy
cc6affad27
Merge remote-tracking branch 'origin/updateCodeFixForAddMissingMember' into checkJSFiles_QuickFixes
2017-03-13 22:41:22 -07:00
Arthur Ozga
27fe2df203
some missed token bugs
2017-03-13 20:20:26 -07:00
Arthur Ozga
d298f960ab
Refactor
2017-03-13 18:09:53 -07:00
Arthur Ozga
20f512cfd2
type parameters and basic object literals
2017-03-13 16:54:29 -07:00
Arthur Ozga
f0b4efe94f
type literals, properties only
2017-03-13 09:18:40 -07:00