diff options
author | 2021-11-15 15:45:37 -0800 | |
---|---|---|
committer | 2021-11-22 10:21:28 -0800 | |
commit | 6ee673095cbddc97a56bae7a512a5271d4a977a2 (patch) | |
tree | 5f7271af9f06ed74551393e722dd35b1b5ecef11 /packages/bun-framework-next/fallback.development.tsx | |
parent | cf4964c8f435e25cbcbe43ba8ac0533a1467ef74 (diff) | |
download | bun-6ee673095cbddc97a56bae7a512a5271d4a977a2.tar.gz bun-6ee673095cbddc97a56bae7a512a5271d4a977a2.tar.zst bun-6ee673095cbddc97a56bae7a512a5271d4a977a2.zip |
continue fixing typescript errors
Diffstat (limited to 'packages/bun-framework-next/fallback.development.tsx')
-rw-r--r-- | packages/bun-framework-next/fallback.development.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/bun-framework-next/fallback.development.tsx b/packages/bun-framework-next/fallback.development.tsx index 54d31d5f5..460b5e165 100644 --- a/packages/bun-framework-next/fallback.development.tsx +++ b/packages/bun-framework-next/fallback.development.tsx @@ -1,5 +1,5 @@ import { insertStyleSheet } from "./page-loader"; -import type { FallbackMessageContainer } from "../../../src/api/schema"; +import type { FallbackMessageContainer } from "../../src/api/schema"; var once = false; function insertNextHeadCount() { @@ -65,6 +65,7 @@ function renderFallback({ router }: FallbackMessageContainer) { } export default function render(props: FallbackMessageContainer) { + // @ts-expect-error bun:error.js is real return import("/bun:error.js").then(({ renderFallbackError }) => { return renderFallback(props).then( () => { |