UNPKG

@glint/core

Version:

A CLI for performing typechecking on Glimmer templates

13 lines (12 loc) 339 B
/** * A `ScopeStack` is used while traversing a template * to track what identifiers are currently in scope. */ export default class ScopeStack { private stack; constructor(identifiers: string[]); push(identifiers: Array<string>): void; pop(): void; hasBinding(identifier: string): boolean; private get top(); }