Skip to content

Commit

Permalink
fix type import
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgimenes committed Sep 3, 2023
1 parent c577b4d commit 45069ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shopify/utils/fragments/cart.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { gql } from "../../../utils/graphql.ts";
import { Image, Money } from "../types.ts";
import type { Image, Money } from "../types.ts";

export interface Item {
id: string;
Expand Down
3 changes: 2 additions & 1 deletion shopify/utils/queries/cart.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { gql } from "../../../utils/graphql.ts";
import { Fragment, fragment } from "../fragments/cart.ts";
import type { Fragment } from "../fragments/cart.ts";
import { fragment } from "../fragments/cart.ts";

export const query = gql`
query($id: ID!) { cart(id: $id) { ...${fragment} } }
Expand Down

0 comments on commit 45069ad

Please sign in to comment.