File tree 1 file changed +8
-2
lines changed
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';
30
30
*/
31
31
export type Generatable = Declaration | Import | Export | SymbolSpecifier ;
32
32
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 } ;
34
37
35
- const generators : Generators = {
38
+ /**
39
+ * Hash with all possible (yet implemented) generators.
40
+ */
41
+ export const generators : Generators = {
36
42
[ SymbolSpecifier . name ] : generateSymbolSpecifier ,
37
43
[ MethodDeclaration . name ] : generateMethodDeclaration ,
38
44
[ ParameterDeclaration . name ] : generateParameterDeclaration ,
You can’t perform that action at this time.
0 commit comments