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 11import ts from 'typescript' ;
2- import { basename } from 'path' ;
32import { readFileSync , writeFileSync } from 'fs' ;
43import Mustache from 'mustache' ;
54import { camelCase , constantCase } from 'change-case' ;
@@ -98,23 +97,6 @@ function extractTypeInformation(sourceTypings) {
9897 members,
9998 } ;
10099 }
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- // });
118100 }
119101 } ) ;
120102 } ) ;
You can’t perform that action at this time.
0 commit comments