Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Aug 25, 2023
1 parent 654fe1a commit 0d555ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/Index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AstroIntegration } from "astro";
import type { Options } from "./Option/Index.js";
import type { Option } from "./Option/Index.js";
import defaults from "./Option/Index.js";

export default (Options: Options = {}): AstroIntegration => {
export default (Options: Option = {}): AstroIntegration => {
for (const Option in Options) {
if (
Object.prototype.hasOwnProperty.call(Options, Option) &&
Expand Down
4 changes: 2 additions & 2 deletions Source/Option/Index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type { Option as _Option } from "files-pipe";
import { Default, Merge } from "files-pipe";

export interface Options extends _Option {
export interface Option extends _Option {
// rome-ignore lint/suspicious/noExplicitAny:
[key: string]: any;
}

export default Merge(Default, {
Pipe: {},
} satisfies Options) as Options;
} satisfies Option) as Option;

0 comments on commit 0d555ec

Please sign in to comment.