From 4cbe4991e6c5a17df4afb3cb3bcd83ad4b936146 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Wed, 25 Oct 2023 22:37:05 +0300 Subject: [PATCH] squash! --- Source/Interface/Integraton.ts | 4 ++-- Source/Interface/Option.ts | 6 ------ Source/Type/Option.ts | 9 +++++++++ 3 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 Source/Interface/Option.ts create mode 100644 Source/Type/Option.ts diff --git a/Source/Interface/Integraton.ts b/Source/Interface/Integraton.ts index fbad6d4..81731d3 100644 --- a/Source/Interface/Integraton.ts +++ b/Source/Interface/Integraton.ts @@ -6,6 +6,6 @@ export default interface Type { (Option: Option): AstroIntegration; } -import type { AstroIntegration } from "astro"; +import type Option from "../Type/Option.js"; -import type Option from "../Interface/Option.js"; +import type { AstroIntegration } from "astro"; diff --git a/Source/Interface/Option.ts b/Source/Interface/Option.ts deleted file mode 100644 index cf11607..0000000 --- a/Source/Interface/Option.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type Option from "files-pipe/Target/Interface/Option.js"; - -export default interface Type extends Option { - // biome-ignore lint/suspicious/noExplicitAny: - [key: string]: any; -} diff --git a/Source/Type/Option.ts b/Source/Type/Option.ts new file mode 100644 index 0000000..def3c03 --- /dev/null +++ b/Source/Type/Option.ts @@ -0,0 +1,9 @@ +/** + * @module Option + * + */ +export type Type = Option; + +export type { Type as default }; + +import type Option from "files-pipe/Target/Interface/Option.js";