Virtual whiteboard for sketching hand-drawn like diagrams
[easy] run typechecking on CI (#954)
Keyan Zhang05af9f04ed9d
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex a5e3c84f8f..92e731a05a 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -19,5 +19,6 @@ jobs:npm cinpm run test:othernpm run test:code+ npm run test:typecheckenv:CI: truediff --git a/package.json b/package.jsonindex 62030a7449..a02f284cac 100644--- a/package.json+++ b/package.json@@ -97,6 +97,7 @@"test:app": "react-scripts test --env=jsdom --passWithNoTests","test:debug": "react-scripts --inspect-brk test --runInBand --no-cache","test:code": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",+ "test:typecheck": "tsc","test:other": "npm run prettier -- --list-different"},"version": "1.0.0",diff --git a/src/element/newElement.test.ts b/src/element/newElement.test.tsindex 4e52f3fa3a..a37e6973b3 100644--- a/src/element/newElement.test.ts+++ b/src/element/newElement.test.ts@@ -41,6 +41,7 @@ it("clones arrow element", () => {assertCloneObjects(element, copy);+ // @ts-ignoreexpect(copy.__proto__).toEqual({ hello: "world" });expect(copy.hasOwnProperty("hello")).toBe(false);