Skip to content

Commit

Permalink
Run grunt update, see phetsims/chipper#1148
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 19, 2021
1 parent f4d033d commit 6d40c4d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doc/typescript-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ known problems, etc.
Sublime also has an officially-supported plugin.

### Converting a Repo to TypeScript
1. Go to package.json and add `"typescript": true` to the `"phet"` section. That enables the TypeScript step in the build tools.
2. `grunt update`. This updates the html to point to the built code, which will be compiled to chipper/dist
3. Add the following type declarations to the `"include"` array in tsconfig.json (see https://github.com/phetsims/chipper/issues/1121)
1. Add the following type declarations to the `"include"` array in tsconfig.json (see https://github.com/phetsims/chipper/issues/1121)
```json
"../chipper/phet-types.d.ts",
"../chipper/node_modules/@types/lodash/index.d.ts",
Expand Down

0 comments on commit 6d40c4d

Please sign in to comment.