File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -165,16 +165,19 @@ export const createFigma = (config: TConfig): PluginAPI => {
165
165
166
166
class DocumentNodeStub {
167
167
type = "DOCUMENT" ;
168
+ children = [ ] ;
168
169
}
169
170
applyMixins ( DocumentNodeStub , [ BaseNodeMixinStub , ChildrenMixinStub ] ) ;
170
171
171
172
class PageNodeStub {
172
173
type = "PAGE" ;
174
+ children = [ ] ;
173
175
}
174
176
applyMixins ( PageNodeStub , [ BaseNodeMixinStub , ChildrenMixinStub ] ) ;
175
177
176
178
class FrameNodeStub {
177
179
type = "FRAME" ;
180
+ children = [ ] ;
178
181
}
179
182
applyMixins ( FrameNodeStub , [ BaseNodeMixinStub , ChildrenMixinStub ] ) ;
180
183
@@ -185,6 +188,7 @@ export const createFigma = (config: TConfig): PluginAPI => {
185
188
186
189
class ComponentNodeStub {
187
190
type = "COMPONENT" ;
191
+ children = [ ] ;
188
192
}
189
193
applyMixins ( ComponentNodeStub , [ BaseNodeMixinStub , ChildrenMixinStub ] ) ;
190
194
You can’t perform that action at this time.
0 commit comments