]> BookStack Code Mirror - bookstack/blobdiff - resources/js/wysiwyg/lexical/core/LexicalNode.ts
TypeScript: Updated compile target, addressed issues
[bookstack] / resources / js / wysiwyg / lexical / core / LexicalNode.ts
index 7306e6bca2755a578826f4bf87f37d24935ed465..6d79c01ccb108e905cc7fdac805ee2ab67f60864 100644 (file)
@@ -175,7 +175,7 @@ export type NodeKey = string;
 
 export class LexicalNode {
   // Allow us to look up the type including static props
-  ['constructor']!: KlassConstructor<typeof LexicalNode>;
+  declare ['constructor']: KlassConstructor<typeof LexicalNode>;
   /** @internal */
   __type: string;
   /** @internal */