Skip to content

Commit

Permalink
service.ts: support stricter webos-service types
Browse files Browse the repository at this point in the history
  • Loading branch information
throwaway96 committed Mar 3, 2024
1 parent 0d9aeb7 commit 24e86f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ async function registerActivity(service: Service): Promise<void> {
replace: true,
};

return new Promise((resolve) => service.activityManager.create(spec, resolve));
return new Promise((resolve) => service.activityManager.create(spec, () => resolve()));
}

/**
Expand Down

0 comments on commit 24e86f5

Please sign in to comment.