Add an experiment reading out a JSDoc comment
This commit is contained in:
parent
16eb09fe61
commit
3653077c95
7 changed files with 148 additions and 71 deletions
|
@ -27,7 +27,7 @@ export function infer(sourceFile: ts.SourceFile) {
|
|||
// z => dep.multiply(z, z)
|
||||
// )
|
||||
if (node?.['name']?.kind === ts.SyntaxKind.Identifier && node?.['name']['escapedText'] === 'dep') {
|
||||
console.log('dep', getType(node['type'].kind), node)
|
||||
// console.log('dep', getType(node['type'].kind), node)
|
||||
|
||||
node['type']?.members?.forEach(member => {
|
||||
console.log('member', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue