Skip to content

Commit 78b0ba1

Browse files
committed
Export MutationOptionsAlone, QueryOptionsAlone, SubscriptionOptionsAlone, WatchQueryOptionsAlone from 'apollo-angular'
Fixes #1756 Fixes #2335
1 parent 1a586eb commit 78b0ba1

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

.changeset/curly-rivers-complain.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'apollo-angular': patch
3+
---
4+
5+
Export MutationOptionsAlone, QueryOptionsAlone, SubscriptionOptionsAlone, WatchQueryOptionsAlone
6+
from 'apollo-angular'

packages/apollo-angular/src/index.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ export { Mutation } from './mutation';
77
export { Subscription } from './subscription';
88
export { APOLLO_OPTIONS, APOLLO_NAMED_OPTIONS, APOLLO_FLAGS } from './tokens';
99
export type {
10-
NamedOptions,
11-
SubscriptionResult,
12-
WatchQueryOptions,
1310
ExtraSubscriptionOptions,
14-
MutationResult,
1511
Flags,
16-
VariablesOf,
12+
MutationOptionsAlone,
13+
MutationResult,
14+
NamedOptions,
15+
QueryOptionsAlone,
1716
ResultOf,
17+
SubscriptionOptionsAlone,
18+
SubscriptionResult,
19+
VariablesOf,
20+
WatchQueryOptions,
21+
WatchQueryOptionsAlone,
1822
} from './types';
1923
export { gql, graphql } from './gql';

0 commit comments

Comments
 (0)