add optional types (#42211)

This commit is contained in:
Wassim Chegham
2020-02-10 18:08:09 +01:00
committed by GitHub
parent 79a77dee97
commit e004560304

View File

@@ -197,6 +197,9 @@ interface SketchMSAttributedString {
_class: 'attributedString';
string: string;
attributes: SketchMSStringAttribute[];
archivedAttributedString?: {
_archive: string;
};
}
interface SketchMSTextLayer extends SketchMSContainerLayer {
_class: 'text';
@@ -336,6 +339,10 @@ interface SketchMSLayer {
clippingMaskMode: SketchMSLayerClippingMaskMode;
hasClippingMask: boolean;
style: SketchMSStyle;
layers?: SketchMSLayer[];
// xLayers custom property
css?: string;
}
interface SketchMSSharedStyle {
_class: 'sharedStyle';