Skip to content

Commit

Permalink
Merge pull request #258 from figma/elaine/add-masktype
Browse files Browse the repository at this point in the history
Add type for maskType
  • Loading branch information
elainefigma authored Sep 21, 2023
2 parents 236b826 + 5c45956 commit 43e24a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ declare type NodeChangeProperty =
| 'y'
| 'rotation'
| 'isMask'
| 'maskType'
| 'clipsContent'
| 'type'
| 'overlayPositionType'
Expand Down Expand Up @@ -1139,6 +1140,7 @@ declare type BlendMode =
| 'SATURATION'
| 'COLOR'
| 'LUMINOSITY'
declare type MaskType = 'ALPHA' | 'VECTOR' | 'LUMINANCE'
interface Font {
fontName: FontName
}
Expand Down Expand Up @@ -1511,6 +1513,7 @@ interface LayoutMixin extends DimensionAndPositionMixin, AutoLayoutChildrenMixin
}
interface BlendMixin extends MinimalBlendMixin {
isMask: boolean
maskType: MaskType
effects: ReadonlyArray<Effect>
effectStyleId: string
}
Expand Down

0 comments on commit 43e24a5

Please sign in to comment.