mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
8 lines
224 B
TypeScript
8 lines
224 B
TypeScript
import { createContext } from 'react';
|
|
import type { JSRuntimeFS } from '@/lib/JSRuntime';
|
|
|
|
export interface FSContextType {
|
|
fs: JSRuntimeFS;
|
|
}
|
|
|
|
export const FSContext = createContext<FSContextType | undefined>(undefined); |