Skip to content

Commit cdaf6f4

Browse files
committed
clean up script
1 parent f11cf78 commit cdaf6f4

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

‎scripts/update-bindings.mjs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import ts from 'typescript';
2-
import { basename } from 'path';
32
import { readFileSync, writeFileSync } from 'fs';
43
import Mustache from 'mustache';
54
import { 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
});

0 commit comments

Comments
 (0)