diff --git a/src/editor/index.ts b/src/editor/index.ts index 7c980d9b5..4234bce4a 100644 --- a/src/editor/index.ts +++ b/src/editor/index.ts @@ -87,7 +87,7 @@ export default class EditorModule implements IBaseModule { } editorView?: EditorView; editor: EditorModel; - $: cash; + $: typeof cash; em: EditorModel; config: typeof defaults; diff --git a/src/utils/cash-dom.js b/src/utils/cash-dom.ts similarity index 99% rename from src/utils/cash-dom.js rename to src/utils/cash-dom.ts index 457389811..1946c97dd 100644 --- a/src/utils/cash-dom.js +++ b/src/utils/cash-dom.ts @@ -1,3 +1,4 @@ +// @ts-nocheck /* Adapted for headless */ /* MIT https://github.com/kenwheeler/cash */ 'use strict';