generated from mirrors/plugin-sample-vite-svelte
All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 4m2s
15 lines
No EOL
376 B
TypeScript
15 lines
No EOL
376 B
TypeScript
export type Language = { name: string; code: string; longCode: string; }
|
|
|
|
export type Suggestion = {
|
|
message: string
|
|
shortMessage: string
|
|
replacements: string[]
|
|
offset: number
|
|
length: number
|
|
typeName: string
|
|
}
|
|
|
|
export interface SpellChecker {
|
|
check(text: string, languages: string[]): Promise<Suggestion[]>
|
|
getLanguages(): Promise<Language[]>
|
|
} |