[fix] types in core (#1044)

* Fix types

* Update README.md
This commit is contained in:
Steve Ruiz 2022-11-14 15:48:56 +00:00 committed by GitHub
parent 8c1195450c
commit 8feb565794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -15,11 +15,13 @@ You can use this package to build projects like [tldraw](https://tldraw.com), wh
Use your package manager of choice to install `@tldraw/core` and its peer dependencies.
```bash
yarn add @tldraw/core
yarn add @tldraw/core && yarn build
# or
npm i @tldraw/core
npm i @tldraw/core && npm run build
```
> Note: You'll need to run the `build` script before running `dev`.
## Examples
There are two examples in this repository.

View file

@ -10,6 +10,7 @@
"dist"
],
"compilerOptions": {
"skipLibCheck": true,
"composite": false,
"incremental": false,
"declaration": true,

View file

@ -1,6 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src"],
"exclude": [
"node_modules",
"**/*.test.tsx",
@ -11,6 +10,7 @@
"dist"
],
"compilerOptions": {
"skipLibCheck": true,
"composite": false,
"incremental": false,
"declaration": true,