yass.ts: new signature for Promise<R>.then(succeeded: Succeeded<R>, failed: Failed): void