Skip to main content

Hooks

Index

Properties

Properties

optionalgetBuiltinPatch

getBuiltinPatch?: (project: Project, name: string) => Promise<null | string | void>

Registers a builtin patch that can be referenced using the dedicated syntax: patch:builtin<name>. This is for instance how the TypeScript patch is automatically registered.


Type declaration

    • (project: Project, name: string): Promise<null | string | void>
    • Registers a builtin patch that can be referenced using the dedicated syntax: patch:builtin<name>. This is for instance how the TypeScript patch is automatically registered.


      Parameters

      Returns Promise<null | string | void>