pattern-in-scope.d.ts 421 B

123456789101112
  1. /**
  2. * @typedef {import('../types.js').ConstructName} ConstructName
  3. * @typedef {import('../types.js').Unsafe} Unsafe
  4. */
  5. /**
  6. * @param {Array<ConstructName>} stack
  7. * @param {Unsafe} pattern
  8. * @returns {boolean}
  9. */
  10. export function patternInScope(stack: Array<ConstructName>, pattern: Unsafe): boolean;
  11. export type ConstructName = import('../types.js').ConstructName;
  12. export type Unsafe = import('../types.js').Unsafe;