@wpkernel/cli / TsBuilderCreator
Interface: TsBuilderCreator
Defines a creator function for generating TypeScript artifacts.
A creator is responsible for generating specific TypeScript files or code based on the provided context.
Properties
create()
ts
create: (context) => Promise<void>;The function that creates the TypeScript artifact.
Parameters
context
Returns
Promise<void>
key
ts
readonly key: string;A unique key for the creator.
