Skip to content

Type Alias: ResolveToken

ts
type ResolveToken = (name) => 
  | {
  syntax?: string;
  value?: string;
}
  | undefined;

Defined in: emitters/markdown/src/render.ts:17

Resolve a consumed custom property to its type/value for the "Tokens consumed" table. Supplied by the caller (e.g. pantoken resolves --* against its token IR); when absent, tokens are listed without type/value columns.

Parameters

name

string

Returns

| { syntax?: string; value?: string; } | undefined

Released under the MIT License