mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
fix: resolve type errors for CI deployment
This commit is contained in:
7
packages/app/react-native-web.d.ts
vendored
Normal file
7
packages/app/react-native-web.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import "react-native";
|
||||
|
||||
declare module "react-native" {
|
||||
interface PressableStateCallbackType {
|
||||
hovered?: boolean;
|
||||
}
|
||||
}
|
||||
@@ -56,8 +56,8 @@ export function useAudioPlayer(options?: AudioPlayerOptions) {
|
||||
const queueRef = useRef<QueuedAudio[]>([]);
|
||||
const suppressedQueueRef = useRef<QueuedAudio[]>([]);
|
||||
const isProcessingQueueRef = useRef(false);
|
||||
const playbackTimeoutRef = useRef<number | null>(null);
|
||||
const checkIntervalRef = useRef<number | null>(null);
|
||||
const playbackTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
|
||||
const checkIntervalRef = useRef<ReturnType<typeof setInterval> | null>(null);
|
||||
|
||||
async function play(audioData: Blob): Promise<number> {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
"**/*.tsx",
|
||||
".expo/types/**/*.ts",
|
||||
"expo-env.d.ts",
|
||||
"nativewind-env.d.ts"
|
||||
"nativewind-env.d.ts",
|
||||
"react-native-web.d.ts"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user