Skip to content

Instantly share code, notes, and snippets.

@nishio
Created February 18, 2021 07:48
Show Gist options
  • Save nishio/f63dfe4cf5b11863c7c0f581ce8e7d2f to your computer and use it in GitHub Desktop.
Save nishio/f63dfe4cf5b11863c7c0f581ce8e7d2f to your computer and use it in GitHub Desktop.
const x: paper.Group = new paper.Group();
const y: paper.Group = { ...x };
---
Type '{ clipped: boolean; tangent: Point; normal: Point; curvature: number; id: number; className: string; name: string; style: Style; locked: boolean; visible: boolean; blendMode: string; ... 49 more ...; onMouseLeave: (event: MouseEvent) => boolean | void; }' is missing the following properties from type 'Group': clone, set, copyContent, copyAttributes, and 66 more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment