From 8456a782130244f3b9f3d02ca018cb45d65197b1 Mon Sep 17 00:00:00 2001 From: rgehbt <74761884+Gehbt@users.noreply.github.com> Date: Mon, 29 Apr 2024 06:40:07 +0000 Subject: [PATCH 1/2] fix(build-dts): fix build file at another chunk --- src/drivers/overlay.ts | 2 +- src/drivers/utils/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/overlay.ts b/src/drivers/overlay.ts index ccb7e088..8fd48960 100644 --- a/src/drivers/overlay.ts +++ b/src/drivers/overlay.ts @@ -1,5 +1,5 @@ import { defineDriver } from "./utils"; -import type { Driver } from "../types"; +import type { Driver } from ".."; import { normalizeKey } from "./utils"; export interface OverlayStorageOptions { diff --git a/src/drivers/utils/index.ts b/src/drivers/utils/index.ts index 26e00038..c0e73cc3 100644 --- a/src/drivers/utils/index.ts +++ b/src/drivers/utils/index.ts @@ -1,4 +1,4 @@ -import type { Driver } from "../../types"; +import type { Driver } from "../.."; type DriverFactory = (opts: T) => Driver; From 4f584a1f398f220cfeee42b7b776f751978ce3ef Mon Sep 17 00:00:00 2001 From: rgehbt <74761884+Gehbt@users.noreply.github.com> Date: Mon, 29 Apr 2024 06:40:25 +0000 Subject: [PATCH 2/2] fix(build-dts): type error leads build none --- src/drivers/utils/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/utils/index.ts b/src/drivers/utils/index.ts index c0e73cc3..5596b00b 100644 --- a/src/drivers/utils/index.ts +++ b/src/drivers/utils/index.ts @@ -1,6 +1,7 @@ import type { Driver } from "../.."; type DriverFactory = (opts: T) => Driver; +interface ErrorOptions {} export function defineDriver( factory: DriverFactory