Skip to content

Commit 7a8d191

Browse files
committed
Moved to @total-typescript/tsconfig
1 parent b0c5daa commit 7a8d191

14 files changed

+26
-24
lines changed

.github/workflows/renovate-checks.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- "renovate/**"
6+
- "ci-check/**"
67

78
jobs:
89
build:

package-lock.json

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"license": "GPL-3.0",
88
"devDependencies": {
99
"@total-typescript/exercise-cli": "^0.6.0",
10+
"@total-typescript/tsconfig": "^1.0.3",
1011
"@types/node": "^18.6.5",
1112
"cross-fetch": "^3.1.5",
1213
"jsdom": "^21.1.1",

src/10-set.problem.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect, it } from "vitest";
2-
import { Equal, Expect } from "./helpers/type-utils";
2+
import type { Equal, Expect } from "./helpers/type-utils";
33

44
const guitarists = new Set();
55

src/10-set.solution.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect, it } from "vitest";
2-
import { Equal, Expect } from "./helpers/type-utils";
2+
import type { Equal, Expect } from "./helpers/type-utils";
33

44
const guitarists = new Set<string>();
55

src/14-extends.problem.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Equal, Expect } from "./helpers/type-utils";
1+
import type { Equal, Expect } from "./helpers/type-utils";
22

33
/**
44
* Here, the id property is shared between all three

src/14-extends.solution.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Equal, Expect } from "./helpers/type-utils";
1+
import type { Equal, Expect } from "./helpers/type-utils";
22

33
/**
44
* Here, the id property is shared between all three

src/16-omit-and-pick.problem.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Equal, Expect } from "./helpers/type-utils";
1+
import type { Equal, Expect } from "./helpers/type-utils";
22

33
interface User {
44
id: string;

src/16-omit-and-pick.solution.1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Equal, Expect } from "./helpers/type-utils";
1+
import type { Equal, Expect } from "./helpers/type-utils";
22

33
interface User {
44
id: string;

src/16-omit-and-pick.solution.2.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Equal, Expect } from "./helpers/type-utils";
1+
import type { Equal, Expect } from "./helpers/type-utils";
22

33
interface User {
44
id: string;

src/17-function-types.problem.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Equal, Expect } from "./helpers/type-utils";
1+
import type { Equal, Expect } from "./helpers/type-utils";
22

33
/**
44
* How do we type onFocusChange?

src/17-function-types.solution.1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Equal, Expect } from "./helpers/type-utils";
1+
import type { Equal, Expect } from "./helpers/type-utils";
22

33
/**
44
* How do we type onFocusChange?

src/17-function-types.solution.2.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Equal, Expect } from "./helpers/type-utils";
1+
import type { Equal, Expect } from "./helpers/type-utils";
22

33
/**
44
* How do we type onFocusChange?

tsconfig.json

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
{
2-
"compilerOptions": {
3-
"types": [
4-
"vitest/importMeta"
5-
],
6-
"target": "es2020",
7-
"module": "ES2022",
8-
"moduleResolution": "Bundler",
9-
"noEmit": true,
10-
"isolatedModules": true,
11-
"esModuleInterop": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"strict": true,
14-
"skipLibCheck": true
15-
},
2+
"extends": "@total-typescript/tsconfig/bundler",
163
"include": [
174
"src"
185
]

0 commit comments

Comments
 (0)