Skip to content

Commit fd34a7a

Browse files
committed
build: enable more TypeScript checks
1 parent 8de2e0e commit fd34a7a

File tree

3 files changed

+47
-25
lines changed

3 files changed

+47
-25
lines changed

lib/api.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
import { AttrMatcher, Expression, Maybe, MaybeArray, Node, NodeAttributes, NodeCallback, RawNode, StringMatcher } from "./types.mjs"
3+
import { AttrMatcher, Expression, Maybe, MaybeArray, Node, NodeAttributes, NodeCallback, StringMatcher } from "./types.mjs"
44

55
/**
66
* # API

package-lock.json

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

tsconfig.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"compilerOptions": {
3-
// all the checks
3+
// the checks
44
// "strict": true,
55
// "strictNullChecks": true,
6-
// "noUnusedLocals": true,
7-
// "noUnusedParameters": true,
8-
// "noImplicitReturns": true,
6+
"noUnusedLocals": true,
7+
"noUnusedParameters": true,
8+
"noImplicitReturns": true,
99
// "noImplicitAny": true,
1010
// "noImplicitThis": true,
11-
// "noFallthroughCasesInSwitch": true,
11+
"noFallthroughCasesInSwitch": true,
1212
// compilation
1313
"incremental": true,
1414
"declaration": true,

0 commit comments

Comments
 (0)