mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
8 lines
246 B
TypeScript
8 lines
246 B
TypeScript
import { createContext } from 'react';
|
|
import type { JSRuntime } from '@/lib/JSRuntime';
|
|
|
|
export interface JSRuntimeContextType {
|
|
runtime: JSRuntime;
|
|
}
|
|
|
|
export const JSRuntimeContext = createContext<JSRuntimeContextType | undefined>(undefined); |