aboutsummaryrefslogtreecommitdiff
path: root/types/ext
diff options
context:
space:
mode:
Diffstat (limited to 'types/ext')
-rw-r--r--types/ext/options-util.d.ts11
1 files changed, 1 insertions, 10 deletions
diff --git a/types/ext/options-util.d.ts b/types/ext/options-util.d.ts
index e03e4be2..7242dc22 100644
--- a/types/ext/options-util.d.ts
+++ b/types/ext/options-util.d.ts
@@ -23,13 +23,4 @@ export type IntermediateOptions = Core.SafeAny;
export type LegacyUpdateFunction = (options: LegacyOptions) => void;
-export type ModernUpdateFunction = ModernUpdateFunctionSync | ModernUpdateFunctionAsync;
-
-export type ModernUpdateFunctionSync = (options: IntermediateOptions) => IntermediateOptions;
-
-export type ModernUpdateFunctionAsync = (options: IntermediateOptions) => Promise<IntermediateOptions>;
-
-export type ModernUpdate = {
- async: boolean;
- update: ModernUpdateFunction;
-};
+export type UpdateFunction = (options: IntermediateOptions) => void | Promise<void>;