RegistryTransformOptions
interface exported by @mwillbanks/tuil-registry.
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
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
importAliases | Readonly<Record<string, string>> | undefined | No | The importAliases member uses the Readonly<Record<string, string>> | undefined contract. | — |
componentDirectory | string | undefined | No | The componentDirectory member uses the string | undefined contract. | — |
themeTokens | Readonly<Record<string, string>> | undefined | No | The themeTokens member uses the Readonly<Record<string, string>> | undefined contract. | — |
format | ((content: string, target: string) => string | Promise<string>) | undefined | No | The 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.
Related types
No package-local related types.
Source
View the secondary source reference