The options for Codemirror is of type EditorConfiguration.
This type is not exported so when using the component options comes up as "any" type, thus intellisense/autocomplete is not available to see the available types in the editor (e.g., vscode).
A fix is to change "declare type CodemirrorProps" in index.d.ts to "export declare type CodemirrorProps", or in other words export the type for the options from the es module.
The options for Codemirror is of type EditorConfiguration.
This type is not exported so when using the component options comes up as "any" type, thus intellisense/autocomplete is not available to see the available types in the editor (e.g., vscode).
A fix is to change "declare type CodemirrorProps" in index.d.ts to "export declare type CodemirrorProps", or in other words export the type for the options from the es module.
Thanks.