Skip to main content

Interface: Template<T>

@kosko/template.Template

Type parameters#

Name
T

Properties#

description#

Optional description: string

Defined in: packages/template/src/template.ts:4


options#

Optional options: { [P in string | number | symbol]: Options<T[P], T>}

Defined in: packages/template/src/template.ts:5

Methods#

generate#

generate(options: T): Promise<Result>

Parameters:#

NameType
optionsT

Returns: Promise<Result>

Defined in: packages/template/src/template.ts:6