mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Merge pull request #32288 from aecz/patch-2
Fix type of insert property from true to boolean
This commit is contained in:
2
types/paper/index.d.ts
vendored
2
types/paper/index.d.ts
vendored
@@ -1803,7 +1803,7 @@ declare module paper {
|
||||
* @param options.insert: Boolean — whether the imported items should be added to the item that importSVG() is called on.
|
||||
* @param options.applyMatrix Boolean — whether the imported items should have their transformation matrices applied to their contents or not.
|
||||
*/
|
||||
importSVG(svg: SVGElement | string, options?: { expandShapes?: boolean; onLoad?: (item: Item, svg: string) => void; onError?: (message: string, status: number) => void; insert?: true; applyMatrix?: Matrix; }): Item;
|
||||
importSVG(svg: SVGElement | string, options?: { expandShapes?: boolean; onLoad?: (item: Item, svg: string) => void; onError?: (message: string, status: number) => void; insert?: boolean; applyMatrix?: Matrix; }): Item;
|
||||
|
||||
/**
|
||||
* Converts the provided SVG content into Paper.js items and adds them to the active layer of this project.
|
||||
|
||||
Reference in New Issue
Block a user