tuil
ReferencePackages@mwillbanks/tuil-registryAPI

applyRegistryCodemods

function exported by @mwillbanks/tuil-registry.

View rawEdit

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

MemberTypeRequiredDescriptionRelated types
contentstringYesSupplies the content value as string.
codemodsreadonly RegistryCodemod[]YesSupplies 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.

Source

View the secondary source reference

Package

@mwillbanks/tuil-registry

On this page