Whether `node` is a declaration at a block's own level: not a class's or an interface's member.
(node: Node)
| 681 | |
| 682 | /** Whether `node` is a declaration at a block's own level: not a class's or an interface's member. */ |
| 683 | function isBlockLevel(node: Node): boolean { |
| 684 | return DECLARATION_KINDS.has(node.kind) && node.qualifiedName === node.name; |
| 685 | } |
| 686 | |
| 687 | /** The declarations at the block's own level, by name, in position order. */ |
| 688 | function blockMembers(mod: AmbientModule, context: ResolutionContext): Map<string, Node[]> { |
no test coverage detected