Skip to content

Remove this once either TypeScript or Next.js fixes this issue #109

@github-actions

Description

@github-actions

Remove this once either TypeScript or Next.js fixes this issue

// TODO: Remove this once either TypeScript or Next.js fixes this issue

// TODO: Remove this once either TypeScript or Next.js fixes this issue
export function asyncComponentHack<T, R>(fn: (arg: T) => Promise<R>): (arg: T) => R {
  return fn as (arg: T) => R
}

2d25b1d82ddfe9d4769578c692097e175064894d

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions