mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-03 23:42:50 +00:00
add optional types (#42211)
This commit is contained in:
parent
79a77dee97
commit
e004560304
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';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user