We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83e77ff commit 727839bCopy full SHA for 727839b
packages/svelte/types/index.d.ts
@@ -1264,7 +1264,9 @@ declare module 'svelte/compiler' {
1264
* May throw an error if the code is too complex to migrate automatically.
1265
*
1266
* */
1267
- export function migrate(source: string, filename?: string | undefined): {
+ export function migrate(source: string, { filename }?: {
1268
+ filename?: string;
1269
+ } | undefined): {
1270
code: string;
1271
};
1272
namespace Css {
0 commit comments