dictionaries
dictionaries copied to clipboard
using with nspell error
import fr from 'dictionary-fr const dict = nspell(fr);
when i try to use the dictionnary with nspell i have this type error
Argument of type 'Dictionary' is not assignable to parameter of type 'Dictionary | Dictionary[]'. Type 'import("/Users/yapokevin/Desktop/next-project/project/node_modules/dictionary-fr/index").Dictionary' is not assignable to type 'Dictionary'. Types of property 'aff' are incompatible. Type 'Uint8Array' is not assignable to type 'string | Buffer'. Type 'Uint8Array' is missing the following properties from type 'Buffer': write, toJSON, equals, compare, and 66 more
and even if i use `const dict = nspell(fr.aff, fr.dic)`;
or const dict = nspell(fr.aff.buffer, fr.dic.buffer);
its not working