(input: TaskLibraryRecord | CreateTaskLibraryOptions)
| 271 | ): TaskLibrary<DecorateCreateTaskLibraryOptions<TInput>>; |
| 272 | function taskLibrary<TInput extends TaskLibraryRecord>(input: TInput): TaskLibrary<TInput>; |
| 273 | function taskLibrary(input: TaskLibraryRecord | CreateTaskLibraryOptions) { |
| 274 | // TODO: reserved words |
| 275 | |
| 276 | return { |
| 277 | _def: { |
| 278 | record: input, |
| 279 | }, |
| 280 | }; |
| 281 | } |
| 282 | |
| 283 | // ======== client side |
| 284 | type DecorateTask<TTask extends AnyTask> = { |
no outgoing calls
no test coverage detected
searching dependent graphs…