Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 203b203

Browse files
authored
format
1 parent ab9f6e8 commit 203b203

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/eslint-plugin/src/rules/ban-types.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@ export default util.createRule<Options, MessageIds>({
9696
fixWith: 'number',
9797
},
9898
Object: {
99-
message: 'The Object type is mostly the same as unknown, you probably want Record<string, unknown> instead',
99+
message:
100+
'The Object type is mostly the same as unknown, you probably want Record<string, unknown> instead'
100101
},
101102
object: {
102-
message: 'The object type is hard to use, use Record<string, unknown> instead',
103-
fixWith: 'Record<string, unknown>',
103+
message:
104+
'The object type is hard to use, use Record<string, unknown> instead',
105+
fixWith: 'Record<string, unknown>'
104106
},
105107
Symbol: {
106108
message: 'Use symbol instead',

0 commit comments

Comments
 (0)