mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-05 05:04:26 +00:00
add optional types (#42211)
This commit is contained in:
7
types/sketchapp/index.d.ts
vendored
7
types/sketchapp/index.d.ts
vendored
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user