Skip to content

Commit 70c8720

Browse files
authored
Apply suggestions from code review
1 parent afda88c commit 70c8720

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/svelte/src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export type ComponentProps<Comp extends SvelteComponent | Component<any, any>> =
242242
*
243243
* Example: Typing the `bind:this` for a component named `MyComponent`
244244
*
245-
* ```ts
245+
* ```svelte
246246
* <script lang="ts">
247247
* import MyComponent from '$lib/component';
248248
* let component: ComponentExports<typeof MyComponent> | undefined = undefined;

packages/svelte/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ declare module 'svelte' {
239239
*
240240
* Example: Typing the `bind:this` for a component named `MyComponent`
241241
*
242-
* ```ts
242+
* ```svelte
243243
* <script lang="ts">
244244
* import MyComponent from '$lib/component';
245245
* let component: ComponentExports<typeof MyComponent> | undefined = undefined;

0 commit comments

Comments
 (0)