Skip to content

Commit 961f8c2

Browse files
chore(deps): update dependency typescript to v5.7.2 (#3525)
* chore(deps): update dependency typescript to v5.7.2 * Fix compile error --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hugo van Rijswijk <git@hugovr.nl>
1 parent fb83484 commit 961f8c2

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@
5252
"prettier-plugin-tailwindcss": "0.6.9",
5353
"rimraf": "6.0.1",
5454
"sinon": "19.0.2",
55-
"typescript": "5.6.3"
55+
"typescript": "5.7.2"
5656
}
5757
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export * from '../src-generated/schema.js';
22
import fs from 'fs';
3-
import type schemaType from './mutation-testing-report-schema.json';
43

5-
export const schema: typeof schemaType = JSON.parse(fs.readFileSync(new URL('./mutation-testing-report-schema.json', import.meta.url), 'utf-8'));
4+
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
5+
type SchemaType = typeof import('./mutation-testing-report-schema.json');
6+
7+
export const schema: SchemaType = JSON.parse(fs.readFileSync(new URL('./mutation-testing-report-schema.json', import.meta.url), 'utf-8'));

0 commit comments

Comments
 (0)