Files
webapp/types/global.d.ts
Ruslan Bakiev 2b6cccdead
All checks were successful
Build Docker Image / build (push) Successful in 5m8s
Fix all TypeScript errors and remove Storybook
- Remove all Storybook files and configuration
- Add type declarations for @vueuse/core, @formkit/core, vue3-apexcharts
- Fix TypeScript configuration (typeRoots, include paths)
- Fix Sentry config - move settings to plugin
- Fix nullable prop assignments with ?? operator
- Fix type narrowing issues with explicit type assertions
- Fix Card component linkable computed properties
- Update codegen with operationResultSuffix
- Fix GraphQL operation type definitions
2026-01-26 00:32:36 +07:00

29 lines
944 B
TypeScript

// Stub types for modules without proper type declarations
declare module '@vueuse/core' {
export function useWebNotification(options?: any): any
export function useBrowserLocation(): any
export function useGeolocation(options?: any): any
export function useStorage<T>(key: string, defaults: T, storage?: Storage): any
export function watchDebounced<T>(source: any, cb: (value: T) => void, options?: any): any
export function onClickOutside(target: any, handler: (event: PointerEvent) => void, options?: any): any
}
declare module '@formkit/core' {
export function getNode(id: string): any
export function createMessage(options: any): any
export type FormKitSchemaNode = any
}
declare module 'vue3-apexcharts' {
import type { Plugin } from 'vue'
const VueApexCharts: Plugin
export default VueApexCharts
}
interface Window {
chatwootSDK: {
run: (config: { websiteToken: string; baseUrl: string }) => void
}
}