Skip to content

Commit

Permalink
More template type updates
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread committed Dec 19, 2023
1 parent e838cdc commit daa781d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/ext/dom-data-binder.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@ export type AssignTaskValue = {value: ValueType};

export type ValueType = boolean | string | number | null;

export type UpdateTask<T> = [
export type UpdateTask<T = unknown> = [
key: ElementObserver<T> | null,
task: TaskAccumulator.Task<UpdateTaskValue>,
];

export type AssignTask<T> = [
export type AssignTask<T = unknown> = [
key: ElementObserver<T> | null,
task: TaskAccumulator.Task<AssignTaskValue>,
];

export type ApplyTarget<T> = [
export type ApplyTarget<T = unknown> = [
observer: ElementObserver<T>,
task: TaskAccumulator.Task<UpdateTaskValue> | TaskAccumulator.Task<AssignTaskValue> | null,
];
Expand Down

0 comments on commit daa781d

Please sign in to comment.