Force FS types into a shared RuntimeFS type

This commit is contained in:
Alex Gleason committed 2025-07-20 16:45:04 -05:00
1 parent 43a272b50f
commit 0b0696e624
9 files changed
+226 -95

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
import { createContext } from 'react';
import type LightningFS from '@isomorphic-git/lightning-fs';
import type { JSRuntimeFS } from '@/lib/JSRuntime';
export interface FSContextType {
fs: LightningFS.PromisifiedFS;
fs: JSRuntimeFS;
}
export const FSContext = createContext<FSContextType | undefined>(undefined);