Lucas Azzola
3471ce4584
feat(typescript): print semi instead of comma in TS interface ( #1548 )
2017-05-07 07:39:21 -07:00
Lucas Azzola
f655233ba2
fix(typescript): handle declare global syntax ( #1546 )
2017-05-07 03:44:41 -07:00
Lucas Azzola
0fa38cce33
fix(typescript): remove extraneous newline with namespace exports ( #1542 )
2017-05-06 20:28:49 -07:00
Lucas Azzola
3d45278ea7
fix(typescript): print readonly and ? tokens in TSMappedType ( #1535 )
2017-05-06 10:30:59 -07:00
Lucas Azzola
4629db6b0d
TypeScript: improve handling of computed properties ( #1532 )
...
* fix(typescript): improve handling of computed properties
* test(typescript): add Symbol computed property test
* fix(typescript): do not print brackets for literals
2017-05-06 08:00:26 -07:00
Lucas Azzola
b9a7549e47
TypeScript: correctly print nested namespaces ( #1522 )
...
* fix(typescript): correctly print nested namespaces
* test(typescript): update snapshots
2017-05-05 21:14:07 -07:00
Lucas Azzola
c689f2a0e7
Fix module block, add enum initializers and fix type parameters ( #1501 )
...
* fix(typescript): fix module block, add enum initializers and fix type parameters
* fix(typescript): use printStatementSequence for TSModuleBlock
* fix(type-params): move typeParameters out of printFunctionParams
* refactor(type-params): move typeParameters out of printArgumentList
2017-05-05 19:44:26 -07:00
Lucas Azzola
aeeaffca35
Fix handling of new keyword and call signatures and improve type parameter formatting ( #1491 )
...
* fix(typescript): fix handling of new keyword
* fix(typescript): fix handling of call signatures
* feat(typescript): share type parameter formatting with flow
2017-05-03 08:01:45 -07:00
Lucas Azzola
7d1e24ea7d
Add supertype tests and add TSAbstractClassProperty ( #1467 )
...
* feat(typescript): add supertype tests and add TSAbstractClassProperty
* chore(typescript): bump parser version
* fix(flow): allow both variance and accessibility mods
2017-04-30 17:41:19 -07:00
Lucas Azzola
7a02e9ad27
feat(typescript): add delcare modifier support for vars, classes and functions ( #1436 )
2017-04-27 09:37:42 -07:00
Lucas Azzola
fff743024c
Add TSParameterProperty, TSAbstractClassDeclaration and TSAbstractMethodDefnition ( #1410 )
...
* feat(typescript): implement TSParameterProperty
* test(typescript): add TypeScript's classes/constructorDeclarations/constructorParameters tests
* feat(typescript): implement TSAbstractClassDeclaration and TSAbstractMethodDefinition
* test(typescript): add TypeScript's classes/classDeclarations/classAbstractKeyword tests
* fix(build): use join instead of spread operator
* fix(typescript): fix semicolon handling
* fix(typescript): handle accessibility modfiers in TSAbstractMethodDefinition
* test(typescript): remove invalid test results
* test(typescript): remove unimplemented abstract properties from tests
* test(typescript): add snapshots for abstract keyword newline behavior
2017-04-26 09:25:58 -07:00