export function interopDefault(mod: T): T { return (mod as any).default || (mod as T) }