We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 014d2f1 commit 9f31375Copy full SHA for 9f31375
x-pack/plugins/task_manager/server/task_manager.ts
@@ -284,7 +284,7 @@ export class TaskManager {
284
*/
285
public async schedule(
286
taskInstance: TaskInstanceWithDeprecatedFields,
287
- options?: object
+ options?: Record<string, unknown>
288
): Promise<ConcreteTaskInstance> {
289
await this.waitUntilStarted();
290
const { taskInstance: modifiedTask } = await this.middleware.beforeSave({
@@ -319,7 +319,7 @@ export class TaskManager {
319
320
public async ensureScheduled(
321
taskInstance: TaskInstanceWithId,
322
323
): Promise<TaskInstanceWithId> {
324
try {
325
return await this.schedule(taskInstance, options);
0 commit comments