Skip to content

Commit 3e633ca

Browse files
committed
fix: use correct json model type string consts
Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent 7529b7c commit 3e633ca

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

src/model/IJsonModel.ts

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -482,12 +482,8 @@ export interface IRowAttributes {
482482
*/
483483
id?: string;
484484

485-
/**
486-
487-
488-
Fixed value: "row"
489-
*/
490-
type?: string;
485+
/** The type of this node (always "row") */
486+
type?: "row";
491487

492488
/**
493489
relative weight for sizing of this row in parent row
@@ -644,12 +640,8 @@ export interface ITabSetAttributes {
644640
*/
645641
tabLocation?: ITabLocation;
646642

647-
/**
648-
649-
650-
Fixed value: "tabset"
651-
*/
652-
type?: string;
643+
/** The type of this node (always "tabset") */
644+
type?: "tabset";
653645

654646
/**
655647
relative weight for sizing of this tabset in parent row
@@ -835,12 +827,8 @@ export interface ITabAttributes {
835827
*/
836828
tabsetClassName?: string;
837829

838-
/**
839-
840-
841-
Fixed value: "tab"
842-
*/
843-
type?: string;
830+
/** The type of this node (always "tab") */
831+
type?: "tab";
844832
}
845833
export interface IBorderAttributes {
846834
/**
@@ -920,10 +908,6 @@ export interface IBorderAttributes {
920908
*/
921909
size?: number;
922910

923-
/**
924-
925-
926-
Fixed value: "border"
927-
*/
928-
type?: string;
911+
/** The type of this node (always "border") */
912+
type?: "border";
929913
}

0 commit comments

Comments
 (0)