diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 03b8553128..8094174667 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -110,10 +110,6 @@ jobs: if: ${{ matrix.ts < 4.1 }} run: sed -i -e 's/@pre41-ts-ignore/@ts-ignore/' -e '/pre41-remove-start/,/pre41-remove-end/d' ./src/tests/*.* ./src/query/tests/*.ts* - - name: 'disable strictOptionalProperties' - if: ${{ matrix.ts == 'next' }} - run: sed -i -e 's|//\(.*strictOptionalProperties.*\)$|\1|' tsconfig.base.json - - name: Test types run: | ./node_modules/.bin/tsc --version diff --git a/tsconfig.base.json b/tsconfig.base.json index ec47d0dad3..09cbbdf4b8 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -10,7 +10,6 @@ "rootDir": "./src", // stricter type-checking for stronger correctness. Recommended by TS "strict": true, - // "strictOptionalProperties": false, // disable strictOptionalProperties for now to also build with 4.4 // linter checks for common issues "noImplicitReturns": true, "noFallthroughCasesInSwitch": true,