tldraw/apps/examples
Steve Ruiz ce1cf82029
Add optional generic to updateShapes / createShapes (#1579)
This PR adds a generic that we can use with `updateShapes` and
`createShapes` in order to type the partials being passed into those
methods. By default, the partials are typed as `TLUnknownShape`, which
accepts any props.

### Change Type

- [x] `minor` — New feature

### Test Plan

- [x] Unit Tests

### Release Notes

- [editor] adds an optional shape generic to `updateShapes` and
`createShapes`
2023-06-13 18:02:17 +00:00
..
e2e rename app to editor (#1503) 2023-06-02 15:21:45 +00:00
src Add optional generic to updateShapes / createShapes (#1579) 2023-06-13 18:02:17 +00:00
package.json yjs example (#1560) 2023-06-09 12:15:06 +00:00
README.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tsconfig.json [feature] Easier store persistence API + persistence example (#1480) 2023-05-30 15:22:49 +00:00
vercel.json [fix] example routes on vercel (#1391) 2023-05-16 14:37:40 +00:00
vite.config.ts Feature flags rework (#1474) 2023-05-30 13:06:15 +00:00

@tldraw/example