tuil
ReferencePackages@mwillbanks/tuil-registryAPI

RegistryTransformOptions

interface exported by @mwillbanks/tuil-registry.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-registry.

export interface RegistryTransformOptions {
  readonly importAliases?: Readonly<Record<string, string>>;
  readonly componentDirectory?: string;
  readonly themeTokens?: Readonly<Record<string, string>>;
  readonly format?: (
    content: string,
    target: string,
  ) => string | Promise<string>;
}

Members

MemberTypeRequiredDescriptionRelated types
importAliasesReadonly<Record<string, string>> | undefinedNoThe importAliases member uses the Readonly<Record<string, string>> | undefined contract.
componentDirectorystring | undefinedNoThe componentDirectory member uses the string | undefined contract.
themeTokensReadonly<Record<string, string>> | undefinedNoThe themeTokens member uses the Readonly<Record<string, string>> | undefined contract.
format((content: string, target: string) => string | Promise<string>) | undefinedNoThe format member uses the ((content: string, target: string) => string | Promise<string>) | undefined contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-registry

On this page