From 0692059e719a4fd7ae15a9ca6e6825d5da6a8938 Mon Sep 17 00:00:00 2001 From: eryue0220 Date: Sun, 22 Dec 2024 00:26:31 +0800 Subject: [PATCH 1/2] fix: build error --- src/farm.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/farm.ts b/src/farm.ts index 046b1b1..c072f23 100644 --- a/src/farm.ts +++ b/src/farm.ts @@ -5,11 +5,9 @@ */ import { createFarmPlugin } from 'unplugin' -import type { JsPluginExtended } from 'unplugin' import { unpluginFactory } from './index' -import type { UnpluginStylexInstance } from './types' -const farmPlugin: UnpluginStylexInstance = createFarmPlugin(unpluginFactory) +const farmPlugin: ReturnType = createFarmPlugin(unpluginFactory) /** * Farm plugin From ad985f79fef7bab18bca611e858623ca931533f1 Mon Sep 17 00:00:00 2001 From: eryue0220 Date: Sun, 22 Dec 2024 00:31:20 +0800 Subject: [PATCH 2/2] fix: lint --- src/farm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/farm.ts b/src/farm.ts index c072f23..a28c29f 100644 --- a/src/farm.ts +++ b/src/farm.ts @@ -7,7 +7,7 @@ import { createFarmPlugin } from 'unplugin' import { unpluginFactory } from './index' -const farmPlugin: ReturnType = createFarmPlugin(unpluginFactory) +const farmPlugin: ReturnType = createFarmPlugin(unpluginFactory) /** * Farm plugin