Skip to content

Commit 3974e5b

Browse files
committed
export PartialObserver and Unsubscribe
1 parent fc669e9 commit 3974e5b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages-exp/app-check-exp/src/api.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
* limitations under the License.
1616
*/
1717

18-
import { AppCheck, AppCheckOptions, AppCheckTokenResult } from './public-types';
18+
import {
19+
AppCheck,
20+
AppCheckOptions,
21+
AppCheckTokenResult,
22+
Unsubscribe,
23+
PartialObserver
24+
} from './public-types';
1925
import { ERROR_FACTORY, AppCheckError } from './errors';
2026
import { getState, setState, AppCheckState } from './state';
2127
import { FirebaseApp, getApp, _getProvider } from '@firebase/app-exp';
22-
import {
23-
getModularInstance,
24-
ErrorFn,
25-
NextFn,
26-
PartialObserver,
27-
Unsubscribe
28-
} from '@firebase/util';
28+
import { getModularInstance, ErrorFn, NextFn } from '@firebase/util';
2929
import { AppCheckService } from './factory';
3030
import { AppCheckProvider, ListenerType } from './types';
3131
import {
@@ -41,7 +41,6 @@ declare module '@firebase/component' {
4141
}
4242

4343
export { ReCaptchaV3Provider, CustomProvider } from './providers';
44-
export { PartialObserver, Unsubscribe }; // from @firebase/util
4544

4645
/**
4746
* Activate App Check for the given app. Can be called only once per app.

packages-exp/app-check-exp/src/public-types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import { FirebaseApp } from '@firebase/app-exp';
1919
import { CustomProvider, ReCaptchaV3Provider } from './providers';
20+
export { Unsubscribe, PartialObserver } from '@firebase/util';
2021

2122
/**
2223
* The Firebase App Check service interface.

0 commit comments

Comments
 (0)