Skip to content

Commit 9c33bf1

Browse files
committed
Add type assertion
1 parent 4162818 commit 9c33bf1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

react-router.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ export default {
1010

1111
function createBuildEnd(): Config["buildEnd"] {
1212
if (process.env.SENTRY_AUTH_TOKEN) {
13-
return sentryOnBuildEnd;
13+
// TODO: remove type assertion
14+
// https://github.com/getsentry/sentry-javascript/pull/15583
15+
return sentryOnBuildEnd as Config["buildEnd"];
1416
}
1517
}
1618

0 commit comments

Comments
 (0)