Skip to content

Commit ae9a68b

Browse files
authored
Replace OperationStore import with OperationResultStore from urql
1 parent 45464c3 commit ae9a68b

File tree

1 file changed

+2
-2
lines changed
  • packages/plugins/typescript/urql-svelte-operations-store/src

1 file changed

+2
-2
lines changed

packages/plugins/typescript/urql-svelte-operations-store/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ export const plugin: PluginFunction<Record<string, any>, Types.ComplexPluginOutp
4141
suffix: operationTypeSuffix + operationResultSuffix,
4242
});
4343

44-
return `export type ${storeTypeName} = OperationStore<${operationResultType}, ${operationVariablesTypes}>;`;
44+
return `export type ${storeTypeName} = OperationResultStore<${operationResultType}, ${operationVariablesTypes}>;`;
4545
}
4646

4747
return null;
4848
})
4949
.filter(Boolean);
5050

5151
return {
52-
prepend: [`import type { OperationStore } from '@urql/svelte';`],
52+
prepend: [`import type { OperationResultStore } from '@urql/svelte';`],
5353
content: out.filter(Boolean).join('\n'),
5454
};
5555
};

0 commit comments

Comments
 (0)