Skip to content

Commit 27a10ed

Browse files
committed
fix(typescript): remove suppressImplicitAnyIndexErrors option
1 parent 497d018 commit 27a10ed

File tree

5 files changed

+2
-5
lines changed

5 files changed

+2
-5
lines changed

packages/config/tsconfig.node.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"moduleResolution": "node",
1010
"isolatedModules": false,
1111
"preserveConstEnums": true,
12-
"suppressImplicitAnyIndexErrors": false,
1312
"noImplicitAny": true,
1413
"strictNullChecks": true,
1514
"noUnusedLocals": false,

packages/redux-utils/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"noImplicitThis": true,
1313
"noImplicitAny": true,
1414
"strictNullChecks": true,
15-
"suppressImplicitAnyIndexErrors": true,
1615
"noUnusedLocals": true,
1716
"noUnusedParameters": true,
1817
"allowSyntheticDefaultImports": true,

packages/tailwind-formio/src/templates/tailwind/iconClass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const ICONS = {
1+
export const ICONS: Record<string, any> = {
22
remove: "bxs-trash",
33
"question-sign":
44
"bx-question-mark inline-block border-1 bg-gray-400 border-solid border-gray-400 text-white text-xxs rounded-full mx-2 mt-px",

packages/tailwind-formio/src/templates/tailwind/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default {
7171
switch (type) {
7272
case "class":
7373
// eslint-disable-next-line no-prototype-builtins
74-
return this.cssClasses.hasOwnProperty(text.toString()) ? this.cssClasses[text.toString()] : text;
74+
return this.cssClasses.hasOwnProperty(text.toString()) ? (this.cssClasses as any)[text.toString()] : text;
7575
}
7676
return text;
7777
},

packages/tailwind-formio/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"noImplicitReturns": true,
1515
"noImplicitThis": true,
1616
"strictNullChecks": false,
17-
"suppressImplicitAnyIndexErrors": true,
1817
"noUnusedLocals": true,
1918
"noUnusedParameters": false,
2019
"skipLibCheck": true,

0 commit comments

Comments
 (0)