Skip to content

Expose async install signature in typescript def#423

Merged
HazAT merged 1 commit intogetsentry:masterfrom
yupferris:master
Jun 19, 2018
Merged

Expose async install signature in typescript def#423
HazAT merged 1 commit intogetsentry:masterfrom
yupferris:master

Conversation

@yupferris
Copy link
Contributor

Since install is async, it might make sense for a user to want to ensure sentry is completely installed before doing some other work, in order to not miss any messages/exceptions that might occur. With the current type def, this requires a nasty typecast from typescript (eg. (Sentry.config(...).install() as any as Promise<void>).then(...)), so let's expose install's async signature properly.

@yupferris yupferris requested a review from HazAT as a code owner June 13, 2018 09:40
Copy link
Member

@HazAT HazAT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this 👍

@HazAT HazAT merged commit 8a097de into getsentry:master Jun 19, 2018
antonis added a commit that referenced this pull request Feb 26, 2026
Uses scoped yarn resolutions to bump ajv:
- eslint/eslintrc consumers: 6.12.6 → 6.14.0 (fixes alert #423)
- appium, detox, expo-dev-launcher: → 8.18.0 (fixes alert #424)

Parent-scoped resolutions avoid the unscoped override that would force
eslint onto incompatible ajv v8.

https://github.com/getsentry/sentry-react-native/security/dependabot/423
https://github.com/getsentry/sentry-react-native/security/dependabot/424

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants