diff --git a/packages/colorwind/src/index.ts b/packages/colorwind/src/index.ts index 0decc32..bf2c206 100644 --- a/packages/colorwind/src/index.ts +++ b/packages/colorwind/src/index.ts @@ -1,14 +1,16 @@ export * as config from './config'; -import plug, { +import { type PluginAPI, type PluginCreator, type PluginCreatorWithOptions, + plug, + plugWith, } from 'plugwind.js'; import plugin, { type PluginOptions } from './plugin'; export { plugin }; -export const colorwind: PluginCreatorWithOptions = plug.with( +export const colorwind: PluginCreatorWithOptions = plugWith( (options) => (api: PluginAPI) => { return plugin(api, options); },