跳到內容

make

本頁內容尚未翻譯。

function make<S extends ConfigSchema, E extends ErrorSchema>(
options: Options<S, E> & {
error: E
},
): Contract<S, E>

Defined in: Contract.ts:77

Pure metadata shared by the host and the executable runner bootstrap.

Type Parameter
S extends ConfigSchema
E extends ErrorSchema
Parameter Type
options Options<S, E> & { error: E; }

Contract<S, E>

function make<S extends ConfigSchema>(options: Options<S, Never>): Contract<S>

Defined in: Contract.ts:80

Pure metadata shared by the host and the executable runner bootstrap.

Type Parameter
S extends ConfigSchema
Parameter Type
options Options<S, Never>

Contract<S>