fix: small legibility improvement

pull/12928/head
Gautier 2 years ago
parent 1681b218cf
commit c1eac6bb11
No known key found for this signature in database
GPG Key ID: F87540A3EBCC48C0

@ -286,7 +286,7 @@ export interface Snippet<Parameters extends unknown[] = []> {
// in the future, the condition can be removed.
...args: number extends Parameters['length'] ? never : Parameters
): typeof SnippetReturn & {
_: 'functions passed to {@render ...} tags must use the `Snippet` type imported from "svelte"';
_: "functions passed to {@render ...} tags must use the `Snippet` type imported from 'svelte'";
};
}

@ -283,7 +283,7 @@ declare module 'svelte' {
// in the future, the condition can be removed.
...args: number extends Parameters['length'] ? never : Parameters
): typeof SnippetReturn & {
_: 'functions passed to {@render ...} tags must use the `Snippet` type imported from "svelte"';
_: "functions passed to {@render ...} tags must use the `Snippet` type imported from 'svelte'";
};
}

Loading…
Cancel
Save