Files
Aether/frontend/src/router/routes/helpers.ts
T

4 lines
138 B
TypeScript
Raw Normal View History

import { importWithRetry } from '@/utils/importRetry'
export const view = <T>(loader: () => Promise<T>) => () => importWithRetry(loader)