Add moduleSuffixes to tsconfig (#11146)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-07-16 22:47:53 +03:00
committed by GitHub
parent a8b963b357
commit 007c21fa8e
82 changed files with 628 additions and 201 deletions
@@ -1,3 +1,5 @@
export function SubtitleFilePicker() {
import {type SubtitleFilePickerProps} from './SubtitleFilePicker.shared'
export function SubtitleFilePicker(_props: SubtitleFilePickerProps): never {
throw new Error('SubtitleFilePicker is a web-only component')
}
@@ -0,0 +1,4 @@
export type SubtitleFilePickerProps = {
onSelectFile: (file: File) => void
disabled?: boolean
}
@@ -9,14 +9,12 @@ import {atoms as a} from '#/alf'
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
import {CC_Stroke2_Corner0_Rounded as CCIcon} from '#/components/icons/CC'
import * as Toast from '#/components/Toast'
import {type SubtitleFilePickerProps} from './SubtitleFilePicker.shared'
export function SubtitleFilePicker({
onSelectFile,
disabled,
}: {
onSelectFile: (file: File) => void
disabled?: boolean
}) {
}: SubtitleFilePickerProps) {
const {_} = useLingui()
const ref = useRef<HTMLInputElement>(null)
@@ -1,6 +1,8 @@
import {type QueryClient} from '@tanstack/react-query'
import {atoms as a, flatten} from '#/alf'
export function clearThumbnailCache() {
export function clearThumbnailCache(_queryClient: QueryClient) {
// no-op on web
}