Skip to content

Commit 72a38d8

Browse files
committed
chore: Fix IED plugin crash
1 parent 026a076 commit 72a38d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compas-open-scd/src/open-scd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class OpenSCD extends LitElement {
7070

7171
/** Object containing all *.nsdoc files and a function extracting element's label form them*/
7272
@property({ attribute: false })
73-
nsdoc!: Nsdoc;
73+
nsdoc: Nsdoc = initializeNsdoc();
7474

7575
private currentSrc = '';
7676
/** The current file's URL. `blob:` URLs are *revoked after parsing*! */

0 commit comments

Comments
 (0)