Skip to content

Commit

Permalink
fix: remove warning of namespace export
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Jan 13, 2021
1 parent af37cb7 commit 02a6917
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core/src/checker.ts
Expand Up @@ -624,6 +624,10 @@ export function checkNode(node: ts.Node | undefined, context: FileContext): void
checkNode(node.type, context)
return
}
if (ts.isNamespaceExport(node)) {
checkNode(node.name, context)
return
}
console.log(`warning: unhandled node kind: ${node.kind}`)
}

Expand Down

0 comments on commit 02a6917

Please sign in to comment.