Skip to contentOpen History to see the last commit
ErrorBoundaryContext.ts
10 lines253 Bytes
1import { createContext } from 'preact' 3type ErrorBoundaryContextType = { 6 resetErrorBoundary: (...args: Array<any>) => void 9export const ErrorBoundaryContext = 10 createContext<ErrorBoundaryContextType | null>(null)