Skip to content

Commit

Permalink
fix: PubSub - Resolve ts strict errors in the AWSAppSyncRealTimeProvi…
Browse files Browse the repository at this point in the history
…der (aws-amplify#9731)

* fix: PubSub - Resolve ts strict errors in the AWSAppSyncRealTimeProvider
  • Loading branch information
stocaaro authored Apr 6, 2022
1 parent f50bd68 commit 0c9c401
Show file tree
Hide file tree
Showing 2 changed files with 234 additions and 188 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
const hasSymbol =
typeof Symbol !== 'undefined' && typeof Symbol.for === 'function';

/**
* @deprecated Unused, all usecases have migrated to INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER
*/
export const INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER = hasSymbol
? Symbol.for('INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER')
: '@@INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER';
Expand Down
Loading

0 comments on commit 0c9c401

Please sign in to comment.