diff --git a/lint-staged.config.mjs b/lint-staged.config.mjs index 0536827..4957cd2 100644 --- a/lint-staged.config.mjs +++ b/lint-staged.config.mjs @@ -1,5 +1,5 @@ /** - * @type {Record string | string[] | Promise} + * @type {Record string | string[] | Promise)>} */ export default { '*.{js,cjs,mjs,ts,cts,mts}': ['eslint --fix', 'prettier --write'], diff --git a/release.config.mjs b/release.config.mjs index c889593..050a3b7 100644 --- a/release.config.mjs +++ b/release.config.mjs @@ -1,5 +1,5 @@ /** - * @type {import('semantic-release').GlobalConfig} + * @type {Partial} */ export default { branches: ['main'], diff --git a/tsconfig.configs.json b/tsconfig.configs.json index 4b09036..083a742 100644 --- a/tsconfig.configs.json +++ b/tsconfig.configs.json @@ -2,6 +2,7 @@ "extends": "./tsconfig.base.json", "compilerOptions": { "allowJs": true, + "checkJs": true, "noEmit": true, "rootDir": "./", "sourceRoot": "./",