mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Force FS types into a shared RuntimeFS type
This commit is contained in:
1 parent
93a57b2560
commit
9dc856d46e
9 files changed
+226
-95
No files matched your search
@@ -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);
|
||||
Reference in new issue
Block a user