Skip to content

Commit

Permalink
Export PersistedQueryLink namespace (#8761)
Browse files Browse the repository at this point in the history
  • Loading branch information
vedrani committed Sep 9, 2021
1 parent ba0b0c0 commit b208f74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/__tests__/__snapshots__/exports.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ Array [

exports[`exports of public entry points @apollo/client/link/persisted-queries 1`] = `
Array [
"PersistedQueryLink",
"VERSION",
"createPersistedQueryLink",
]
Expand Down
2 changes: 1 addition & 1 deletion src/link/persisted-queries/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface ErrorResponse {
type SHA256Function = (...args: any[]) => string | PromiseLike<string>;
type GenerateHashFunction = (document: DocumentNode) => string | PromiseLike<string>;

namespace PersistedQueryLink {
export namespace PersistedQueryLink {
interface BaseOptions {
disable?: (error: ErrorResponse) => boolean;
useGETForHashedQueries?: boolean;
Expand Down

0 comments on commit b208f74

Please sign in to comment.