tldraw/packages/state
Lu Wilson 828848f8af
Remove (optional) from jsdocs (#2109)
This PR removes all mentions of "(optional)" from our jsdocs. This is
for:

* consistency — many of our jsdocs don't mention "(optional)" for
optional parameters. The developer is expected to use the type
definition to find this out. But it's a bit unclear because we use
"(optional)" in many places too.
* docs site — on our docs site, we use type definitions to figure out
what is optional, and what isn't. We use that info to denote optional
parameters. It looks funny having two "(optional)"s on a page. We
*could* strip them, but it's probably better to just remove them at the
source.

<img width="526" alt="image"
src="https://github.com/tldraw/tldraw/assets/15892272/b5b65a2b-2923-42a9-a2d3-9b1d9d55cd3d">


### Change Type

- [x] `documentation` — Changes to the documentation only[^2]

### Release Notes

- dev: Removed duplicate/inconsistent `(optional)`s from docs
2023-10-20 15:31:50 +00:00
..
api Publish api.json (#2034) 2023-10-08 15:00:58 +00:00
src Remove (optional) from jsdocs (#2109) 2023-10-20 15:31:50 +00:00
api-extractor.json Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00
api-report.md Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00
CHANGELOG.md Update CHANGELOG.md [skip ci] 2023-10-11 10:42:50 +00:00
docs-ordering.json Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00
package.json Update CHANGELOG.md [skip ci] 2023-10-17 14:39:34 +00:00
README.md Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00
tsconfig.json Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00

@tldraw/state

...