File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -342,9 +342,9 @@ TypeScript offers two options for type definitions - `type` and `interface`. As
342342All types must be defined with ` type ` alias <Rule href = ' https://typescript-eslint.io/rules/consistent-type-definitions/#type' />.
343343
344344<Note >
345- Consider using interfaces if developing a package that can be further extended, team is more comfortable working with
346- interfaces etc. In such case disable lint rule where needed e.g. using type unions (type Status = 'loading' | 'error')
347- etc .
345+ Consider using interfaces when developing a package that may be extended in the future by third-party consumers or
346+ when the team prefers working with interfaces. In such cases, you can disable linting rules where necessary, such as
347+ when using type unions (e.g. ` type Status = 'loading' | 'error' ` ) .
348348</Note >
349349
350350``` ts
You can’t perform that action at this time.
0 commit comments