chore: enable noUncheckedIndexedAccess, better type check (#2608)

This commit is contained in:
Stephen Zhou
2025-01-18 22:35:23 +08:00
committed by GitHub
parent f947bd1d1e
commit 2cd1b5daf9
182 changed files with 489 additions and 589 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ export const parseRegexpPathParams = (
}
}
case "group": {
if ("name" in token.tokens[1]) {
if ("name" in token.tokens[1]!) {
return {
name: token.tokens[1].name,
optional: true,