UNPKG

387 BTypeScriptView Raw
1import type { Reference } from '../references.js';
2import type { CapturedArguments } from './arguments.js';
3import type { Owner } from './owner.js';
4import type { DynamicScope } from './scope.js';
5
6export type HelperDefinitionState = object;
7
8export interface Helper<O extends Owner = Owner> {
9 (args: CapturedArguments, owner: O | undefined, dynamicScope?: DynamicScope): Reference;
10}