]> BookStack Code Mirror - bookstack/blobdiff - resources/js/wysiwyg/lexical/core/nodes/LexicalParagraphNode.ts
TypeScript: Updated compile target, addressed issues
[bookstack] / resources / js / wysiwyg / lexical / core / nodes / LexicalParagraphNode.ts
index e8d044b218bc37866f445b6c7facfd83392978f9..6711936da00c186af8fa0f81ef7614d0f5ba5504 100644 (file)
@@ -44,7 +44,7 @@ export type SerializedParagraphNode = Spread<
 
 /** @noInheritDoc */
 export class ParagraphNode extends CommonBlockNode {
-  ['constructor']!: KlassConstructor<typeof ParagraphNode>;
+  declare ['constructor']: KlassConstructor<typeof ParagraphNode>;
   /** @internal */
   __textFormat: number;
   __textStyle: string;