diff --git a/plugins/deco.ts b/plugins/deco.ts index 303530015..0edf4a460 100644 --- a/plugins/deco.ts +++ b/plugins/deco.ts @@ -1,12 +1,15 @@ export * from "../runtime/fresh/plugin.ts"; -import plugin from "../runtime/fresh/plugin.ts"; +import type { AppManifest } from "@deco/deco"; +import { default as plugin, type Options } from "../runtime/fresh/plugin.ts"; /** * backwards compatibility with old fresh+deco plugin */ -export const plugins = (...opt: Parameters) => { +export const plugins = ( + opts: Options, +) => { return [ - plugin(...opt), + plugin(opts), ]; };