File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,15 @@ import { TypescriptGenerationOptions } from './TypescriptGenerationOptions';
3030 */
3131export type Generatable = Declaration | Import | Export | SymbolSpecifier ;
3232
33- type Generators = { [ name : string ] : ( generatable : Generatable , options : TypescriptGenerationOptions ) => string } ;
33+ /**
34+ * Type for generators.
35+ */
36+ export type Generators = { [ name : string ] : ( generatable : Generatable , options : TypescriptGenerationOptions ) => string } ;
3437
35- const generators : Generators = {
38+ /**
39+ * Hash with all possible (yet implemented) generators.
40+ */
41+ export const generators : Generators = {
3642 [ SymbolSpecifier . name ] : generateSymbolSpecifier ,
3743 [ MethodDeclaration . name ] : generateMethodDeclaration ,
3844 [ ParameterDeclaration . name ] : generateParameterDeclaration ,
You can’t perform that action at this time.
0 commit comments