femto-webapp/src/types.d.ts
2025-05-20 10:47:21 +02:00

22 lines
345 B
TypeScript

import { User } from './app/user/user.ts'
export interface ProblemDetails {
detail: string
title: string
status: number
type: string
traceId: string
}
declare global {
interface Window {
$femto: FemtoApp
}
type Timeout = ReturnType<typeof setTimeout>
}
export interface FemtoApp {
version: string
user: User | null
}