diff --git a/docs/rules/meta-satisfies-type.md b/docs/rules/meta-satisfies-type.md index a4b6910..277cfb5 100644 --- a/docs/rules/meta-satisfies-type.md +++ b/docs/rules/meta-satisfies-type.md @@ -14,13 +14,15 @@ Additionally, `satisfies` is preferred over type annotations (`const meta: Meta Examples of **incorrect** code for this rule: -```js +```ts export default { title: 'Button', args: { primary: true }, component: Button, } +``` +```ts const meta: Meta = { title: 'Button', args: { primary: true }, @@ -31,13 +33,15 @@ export default meta Examples of **correct** code for this rule: -```js +```ts export default { title: 'Button', args: { primary: true }, component: Button, } satisfies Meta +``` +```ts const meta = { title: 'Button', args: { primary: true },