Skip to content

Commit

Permalink
Export necessary providers and types from the package root to avoid i…
Browse files Browse the repository at this point in the history
…mporting from generated paths (#5085)
  • Loading branch information
Amplifiyer authored Mar 13, 2020
1 parent f31cc78 commit 6ad01c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/predictions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ import {
AmazonAIInterpretPredictionsProvider,
} from './Providers';

import { InterpretTextCategories } from './types';
export * from './types';

export {
Predictions,
AmazonAIIdentifyPredictionsProvider,
AmazonAIConvertPredictionsProvider,
AmazonAIPredictionsProvider,
AmazonAIInterpretPredictionsProvider,
InterpretTextCategories,
};

/**
Expand Down
3 changes: 2 additions & 1 deletion packages/pubsub/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
*/
import { PubSub } from './PubSub';

export * from './Providers/AWSIotProvider';
export * from './Providers';

export { PubSub };

/**
Expand Down

0 comments on commit 6ad01c6

Please sign in to comment.