commit | df47abcbb993c7b9ff8ca958d80968f5d577f6a6 | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Tue Oct 06 10:39:10 2020 -0400 |
committer | Kevin Lubick <kjlubick@google.com> | Wed Oct 07 11:53:59 2020 +0000 |
tree | 998ca4dfe8db85cc4ddc92059d776caa223ecec4 | |
parent | 57c37ad0e4c81fba6297e157a56ab123291f8dcc [diff] |
[canvaskit] Add make rule to check types I don't think we need the extra bin folder; we should be able to declare our types all in index.d.ts. This also checks in the package-lock.json, now that we have devDependencies to run those type checks. `make typecheck` runs the typecheck tests. The tsconfig.json and tslint.json were created following the instructions at https://github.com/microsoft/dtslint and using the DefinitelyTyped rules. Bug: skia:10717 Change-Id: I7f943e9cfa264496e0d8932018ab1749702ab2c4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/322957 Reviewed-by: Nathaniel Nifong <nifong@google.com>