Skip to content

Commit 6c8aa56

Browse files
committed
update docusaurus
1 parent a0af727 commit 6c8aa56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/src/pages/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@ TypeScript offers two options for type definitions - `type` and `interface`. As
342342
All 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

0 commit comments

Comments
 (0)