(input: TaskLibraryRecord | CreateTaskLibraryOptions)
| 418 | ): TaskLibrary<DecorateCreateTaskLibraryOptions<TInput>>; |
| 419 | function taskLibrary<TInput extends TaskLibraryRecord>(input: TInput): TaskLibrary<TInput>; |
| 420 | function taskLibrary(input: TaskLibraryRecord | CreateTaskLibraryOptions) { |
| 421 | // TODO: reserved words |
| 422 | |
| 423 | return { |
| 424 | _def: { |
| 425 | record: input, |
| 426 | }, |
| 427 | }; |
| 428 | } |
| 429 | |
| 430 | // ======== client side |
| 431 | type DecorateTask<TTask extends AnyTask> = { |
no outgoing calls
no test coverage detected
searching dependent graphs…