File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -453,8 +453,8 @@ export type RaphaelPaperPluginRegistry<
453453 [ P in keyof T ] : RaphaelPaperPluginMethodOrRegistry < TTechnology , T [ P ] > ;
454454} ;
455455
456- type RaphaelPaperPluginMethodOrRegistry < TTechnology extends RaphaelTechnology , T > = T extends ( ... args : any ) => any
457- ? RaphaelPaperPluginMethod < TTechnology , Parameters < T > , ReturnType < T > >
456+ type RaphaelPaperPluginMethodOrRegistry < TTechnology extends RaphaelTechnology , T > = T extends readonly any [ ] ? { }
457+ : T extends ( ... args : any ) => any ? RaphaelPaperPluginMethod < TTechnology , Parameters < T > , ReturnType < T > >
458458 : RaphaelPaperPluginRegistry < TTechnology , T > ;
459459/**
460460 * You can add your own method to elements. This is useful when you want to hack default functionality or want
You can’t perform that action at this time.
0 commit comments