Skip to content

IResolveContext

Current resolution context for tokens.

Methods

Name Description
registerPostProcessor Use this postprocessor after the entire token structure has been resolved.
resolve Resolve an inner object.

registerPostProcessor

public registerPostProcessor(postProcessor: IPostProcessor): void

Use this postprocessor after the entire token structure has been resolved.

postProcessorRequired


resolve

public resolve(x: any): any

Resolve an inner object.

xRequired

  • Type: any

Properties

Name Type Description
preparing boolean True when we are still preparing, false if we're rendering the final output.
scope IConstruct The scope from which resolution has been initiated.

preparingRequired

public readonly preparing: boolean;
  • Type: boolean

True when we are still preparing, false if we're rendering the final output.


scopeRequired

public readonly scope: IConstruct;

The scope from which resolution has been initiated.