diff --git a/js/index.d.ts b/js/index.d.ts index 0daa7e640f..c797ba81ff 100644 --- a/js/index.d.ts +++ b/js/index.d.ts @@ -208,7 +208,10 @@ declare module '@sentry/cli' { proposeVersion(): Promise; - uploadSourceMaps(release: string, options: SentryCliUploadSourceMapsOptions): Promise; + uploadSourceMaps( + release: string, + options: SentryCliUploadSourceMapsOptions & { live?: boolean | 'rejectOnError' } + ): Promise; listDeploys(release: string): Promise; diff --git a/js/releases/index.js b/js/releases/index.js index 5a58bc7901..9e59933698 100644 --- a/js/releases/index.js +++ b/js/releases/index.js @@ -149,6 +149,7 @@ class Releases { * ext: ['js', 'map', 'jsbundle', 'bundle'], // override file extensions to scan for * projects: ['node'], // provide a list of projects * decompress: false // decompress gzip files before uploading + * live: true // whether to inherit stdio to display `sentry-cli` output directly. * }); * * @param {string} release Unique name of the release.