Skip to content

Commit df8ed1f

Browse files
DaleLJeffersonbradzacher
authored andcommitted
docs(eslint-plugin): no-type-alias: Fix Typo
allowsLiterals -> allowLiterals
1 parent 8d741f4 commit df8ed1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin/docs/rules/no-type-alias.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ type Foo = (name: string, age: number) => string | Person;
247247
type Foo = (name: string, age: number) => string & Person;
248248
```
249249

250-
### allowsLiterals
250+
### allowLiterals
251251

252252
This applies to literal types (`type Foo = { ... }`).
253253

0 commit comments

Comments
 (0)