webspellcheck
Version:
Simple WebSpellChecker initializer for CKEditor or Monaco Editor
13 lines (12 loc) • 400 B
TypeScript
declare global {
interface Window {
WEBSPELLCHECKER: any;
}
}
export declare function load(cdnUrl?: string): Promise<void>;
export declare function init(editorInstance: any, config: {
lang?: string;
serviceId: string;
autoStartup?: boolean;
}): void;
export declare function config(editorInstance: any, serviceId: string, userData: Record<string, string | number>): void;