Skip to content

Commit 0e71ed3

Browse files
committed
Add missing return type
1 parent badaf27 commit 0e71ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/duration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ export class Duration implements Temporal.Duration {
380380
oneParam: Params['compare'][0],
381381
twoParam: Params['compare'][1],
382382
options: Params['compare'][2] = undefined
383-
) {
383+
): Return['compare'] {
384384
const one = ES.ToTemporalDuration(oneParam);
385385
const two = ES.ToTemporalDuration(twoParam);
386386
const resolvedOptions = ES.GetOptionsObject(options);

0 commit comments

Comments
 (0)