(node: tstl.Node)
| 1 | import * as tstl from ".."; |
| 2 | |
| 3 | export function isExportTableDeclaration(node: tstl.Node): node is tstl.VariableDeclarationStatement & { left: [] } { |
| 4 | return tstl.isVariableDeclarationStatement(node) && isExportTable(node.left[0]); |
| 5 | } |
| 6 | |
| 7 | export function isExportTable(node: tstl.Node): node is tstl.Identifier { |
| 8 | return tstl.isIdentifier(node) && node.text === "____exports"; |
no test coverage detected