Fix TypeScript typecheck errors
This commit is contained in:
70
resources/js/types/shims.d.ts
vendored
70
resources/js/types/shims.d.ts
vendored
@@ -15,15 +15,85 @@ declare module '@tamagui/button' {
|
||||
export { Button };
|
||||
}
|
||||
|
||||
declare module '@tamagui/card' {
|
||||
export const Card: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/group' {
|
||||
export const XGroup: any;
|
||||
export const YGroup: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/list-item' {
|
||||
export const ListItem: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/checkbox' {
|
||||
export const Checkbox: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/switch' {
|
||||
export const Switch: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/accordion' {
|
||||
export const Accordion: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/scroll-view' {
|
||||
export const ScrollView: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/toggle-group' {
|
||||
export const ToggleGroup: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/alert-dialog' {
|
||||
export const AlertDialog: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/select' {
|
||||
export const Select: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/sheet' {
|
||||
export const Sheet: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/avatar' {
|
||||
export const Avatar: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/radio-group' {
|
||||
export const RadioGroup: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/progress' {
|
||||
export const Progress: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/slider' {
|
||||
export const Slider: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/image' {
|
||||
export const Image: any;
|
||||
}
|
||||
|
||||
declare module '@tamagui/react-native-web-lite' {
|
||||
export const Pressable: any;
|
||||
export * from 'react-native';
|
||||
}
|
||||
|
||||
declare module 'tamagui' {
|
||||
export const Tabs: any;
|
||||
export const Separator: any;
|
||||
export const Slider: any;
|
||||
export const Input: any;
|
||||
export const TextArea: any;
|
||||
export const Spinner: any;
|
||||
}
|
||||
|
||||
declare module '@/actions/*' {
|
||||
const mod: any;
|
||||
export = mod;
|
||||
|
||||
Reference in New Issue
Block a user