File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 1
1
import ts from 'typescript' ;
2
- import { basename } from 'path' ;
3
2
import { readFileSync , writeFileSync } from 'fs' ;
4
3
import Mustache from 'mustache' ;
5
4
import { camelCase , constantCase } from 'change-case' ;
@@ -98,23 +97,6 @@ function extractTypeInformation(sourceTypings) {
98
97
members,
99
98
} ;
100
99
}
101
-
102
- // const symbol = checker.getSymbolAtLocation(node.name);
103
- // if (!symbol) {
104
- // return;
105
- // }
106
-
107
- // const name = symbol.getName();
108
- // const members = [...symbol.members.entries()]
109
- // .map((m) => ({ name: m[0], valueDeclaration: m[1].valueDeclaration }))
110
- // .filter(
111
- // (m) => m.valueDeclaration?.kind === ts.SyntaxKind.PropertySignature,
112
- // )
113
- // .map((m) => m.name);
114
- // interfaces.push({
115
- // interfaceName: name,
116
- // members,
117
- // });
118
100
}
119
101
} ) ;
120
102
} ) ;
You can’t perform that action at this time.
0 commit comments