applyRegistryCodemods
function exported by @mwillbanks/tuil-registry.
function
Public function exported by @mwillbanks/tuil-registry.
export function applyRegistryCodemods(
content: string,
codemods: readonly RegistryCodemod[],
): {
readonly content: string;
readonly applied: readonly string[];
};Members
This declaration has no public members.
Parameters
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
content | string | Yes | Supplies the content value as string. | — |
codemods | readonly RegistryCodemod[] | Yes | Supplies the codemods value as readonly RegistryCodemod[]. | RegistryCodemod |
Returns
{ readonly content: string; readonly applied: readonly string[]; } — Returns a value that satisfies { readonly content: string; readonly applied: readonly string[]; }.
Related types: —
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference