From b5775bf14906590266b96fb295acfe8dfe37c282 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sun, 22 Oct 2023 01:04:09 +0300 Subject: [PATCH] squash! --- Source/Function/Integration.ts | 6 +++--- Source/Interface/Integration.ts | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 Source/Interface/Integration.ts diff --git a/Source/Function/Integration.ts b/Source/Function/Integration.ts index 8737f74..1fb2d69 100644 --- a/Source/Function/Integration.ts +++ b/Source/Function/Integration.ts @@ -2,7 +2,7 @@ * @module Integration * */ -export default (_Option: Option = {}): AstroIntegration => { +export default ((_Option: Option = {}): AstroIntegration => { for (const Option in _Option) { if ( Object.prototype.hasOwnProperty.call(_Option, Option) && @@ -34,11 +34,11 @@ export default (_Option: Option = {}): AstroIntegration => { }, }, }; -}; +}) satisfies Type as Type; import type Option from "../Interface/Option.js"; -import type Path from "files-pipe/Target/Interface/Path.js"; +import type Path from "files-pipe/Target/Type/Path.js"; import type { AstroIntegration } from "astro"; diff --git a/Source/Interface/Integration.ts b/Source/Interface/Integration.ts new file mode 100644 index 0000000..e499974 --- /dev/null +++ b/Source/Interface/Integration.ts @@ -0,0 +1,7 @@ +/** + * @module Integration + * + */ +export default interface Type { + () +}