We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53ef11f commit b5381f2Copy full SHA for b5381f2
src/abstract/UploaderPublicApi.ts
@@ -352,10 +352,10 @@ export class UploaderPublicApi {
352
setCurrentActivity = <T extends ActivityType>(
353
activityType: T,
354
params: T extends keyof ActivityParamsMap
355
- ? [ActivityParamsMap[T]]
+ ? ActivityParamsMap[T]
356
: T extends RegisteredActivityType
357
- ? [undefined?]
358
- : [any?],
+ ? undefined
+ : any,
359
) => {
360
if (this._ctx.hasBlockInCtx((b) => b.activityType === activityType)) {
361
this._ctx.set$({
0 commit comments