(input: TaskLibraryRecord | CreateTaskLibraryOptions)
| 330 | ): TaskLibrary<DecorateCreateTaskLibraryOptions<TInput>>; |
| 331 | function taskLibrary<TInput extends TaskLibraryRecord>(input: TInput): TaskLibrary<TInput>; |
| 332 | function taskLibrary(input: TaskLibraryRecord | CreateTaskLibraryOptions) { |
| 333 | // TODO: reserved words |
| 334 | |
| 335 | return { |
| 336 | _def: { |
| 337 | record: input, |
| 338 | }, |
| 339 | }; |
| 340 | } |
| 341 | |
| 342 | // ======== client side |
| 343 | type DecorateTask<TTask extends AnyTask> = { |
no outgoing calls
no test coverage detected
searching dependent graphs…