From 9cd2dddeeab26ff08fb9127d62e16083b1a94155 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Fri, 30 Sep 2022 16:08:31 -0700 Subject: [PATCH] chore: checkJs --- packages/ses-ava/jsconfig.json | 11 +++++++++-- packages/ses-ava/src/ses-ava-test.js | 1 - packages/ses-ava/src/types.js | 2 -- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/ses-ava/jsconfig.json b/packages/ses-ava/jsconfig.json index 63776968c1..7687bbc82e 100644 --- a/packages/ses-ava/jsconfig.json +++ b/packages/ses-ava/jsconfig.json @@ -2,10 +2,17 @@ "compilerOptions": { "target": "esnext", "module": "esnext", + "checkJs": true, "noEmit": true, "downlevelIteration": true, "strictNullChecks": true, - "moduleResolution": "node" + "moduleResolution": "node", + "types": [] }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/ses-ava/src/ses-ava-test.js b/packages/ses-ava/src/ses-ava-test.js index 36038ad9d3..743fe68cd5 100644 --- a/packages/ses-ava/src/ses-ava-test.js +++ b/packages/ses-ava/src/ses-ava-test.js @@ -1,4 +1,3 @@ -// @ts-check import 'ses'; import './types.js'; diff --git a/packages/ses-ava/src/types.js b/packages/ses-ava/src/types.js index 8a754254a3..7723612c49 100644 --- a/packages/ses-ava/src/types.js +++ b/packages/ses-ava/src/types.js @@ -1,5 +1,3 @@ -// @ts-check - /** * @typedef {(...args: unknown[]) => void} Logger */