Unverified Commit 90642ba1 authored by vercel-fleet-prod[bot]'s avatar vercel-fleet-prod[bot] Committed by GitHub

test(next): stabilize federation fallback types

Co-authored-by: 's avatarTobias Koppers <1365881+sokra@users.noreply.github.com>
parent f0397138
...@@ -22,7 +22,6 @@ export function RemoteMessage() { ...@@ -22,7 +22,6 @@ export function RemoteMessage() {
useEffect(() => { useEffect(() => {
async function load() { async function load() {
// @ts-expect-error -- configured with a local fallback at runtime
const fallbackModule = await import('local-fallback') const fallbackModule = await import('local-fallback')
setFallback(fallbackModule.value) setFallback(fallbackModule.value)
setMessage('fallback loaded') setMessage('fallback loaded')
......
declare module 'local-fallback' {
export const value: string
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment