Skip to content

Commit

Permalink
use the word 'type' when importing/exporting the CategoryConsentStatu…
Browse files Browse the repository at this point in the history
…sProvider
  • Loading branch information
danychi committed Dec 7, 2023
1 parent 1ab0660 commit c82ffea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ export {
} from './util';
export { SegmentClient } from './analytics';
export { SegmentDestination } from './plugins/SegmentDestination';
export {
CategoryConsentStatusProvider,
ConsentPlugin,
} from './plugins/ConsentPlugin';
export type { CategoryConsentStatusProvider } from './plugins/ConsentPlugin';
export { ConsentPlugin } from './plugins/ConsentPlugin';
export * from './flushPolicies';
export * from './errors';
2 changes: 1 addition & 1 deletion packages/core/src/plugins/__tests__/consent/utils.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {
CategoryConsentStatusProvider,
DestinationPlugin,
PluginType,
SegmentClient,
UtilityPlugin,
} from '@segment/analytics-react-native';
import type { CategoryConsentStatusProvider } from '@segment/analytics-react-native';
import { SegmentDestination } from '../../SegmentDestination';

beforeEach(() => {
Expand Down

0 comments on commit c82ffea

Please sign in to comment.