Skip to content

Commit a0a3b61

Browse files
committed
Fix build issues in gqlgen and networks
- Import gql_doc as type-only to prevent runtime import - Rename MESSANGER to MESSENGER (correct spelling)
1 parent 0cbdb59 commit a0a3b61

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/graphql/dev/gqlgen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as gql_doc from "@graphql-typed-document-node/core";
1+
import type * as gql_doc from "@graphql-typed-document-node/core";
22
export type Maybe<T> = T | null;
33
export type InputMaybe<T> = Maybe<T>;
44
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };

packages/share/src/networks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const HACKERNEWS: Network = "https://news.ycombinator.com/submitlink?u=@u
2525
export const INSTAPAPER: Network = "http://www.instapaper.com/edit?url=@u&title=@t&description=@d";
2626
export const LINE: Network = "http://line.me/R/msg/text/?@t%0D%0A@u%0D%0A@d";
2727
export const LINKEDIN: Network = "https://www.linkedin.com/sharing/share-offsite/?url=@u";
28-
export const MESSANGER: Network = "fb-messenger://share/?link=@u";
28+
export const MESSENGER: Network = "fb-messenger://share/?link=@u";
2929
/** @deprecated Use MESSENGER instead - this will be removed in a future version */
3030
export const MESSANGER: Network = MESSENGER;
3131
export const ODNOKLASSNIKI: Network =

0 commit comments

Comments
 (0)