@code-surfer/standalone
Version:
Code Surfer React component
28 lines (27 loc) • 760 B
TypeScript
/// <reference types="react" />
declare type UnknownErrorProps = {
error: {
toString: () => string;
};
};
export declare function UnknownError({ error }: UnknownErrorProps): JSX.Element;
export declare function grammarNotFound({ lang }: {
lang: string;
}): {
element: JSX.Element;
};
export declare function invalidFocusNumber(n: string): {
withFocusString: (focusString: string) => {
withStepIndex: (stepIndex: number) => {
element: JSX.Element;
};
};
};
export declare function invalidLineOrColumnNumber(): {
withFocusString: (focusString: string) => {
withStepIndex: (stepIndex: number) => {
element: JSX.Element;
};
};
};
export {};