@codemirror/view 6.2.2 → 6.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/index.cjs +185 -190
- package/dist/index.d.ts +1 -1
- package/dist/index.js +185 -190
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -736,7 +736,7 @@ declare class EditorView {
|
|
|
736
736
|
know you registered a given plugin, it is recommended to check
|
|
737
737
|
the return value of this method.
|
|
738
738
|
*/
|
|
739
|
-
plugin<T>(plugin: ViewPlugin<T>): T | null;
|
|
739
|
+
plugin<T extends PluginValue>(plugin: ViewPlugin<T>): T | null;
|
|
740
740
|
/**
|
|
741
741
|
The top position of the document, in screen coordinates. This
|
|
742
742
|
may be negative when the editor is scrolled down. Points
|