From 41883a1fd06377b04f82d7372d7dffd307d2f8d3 Mon Sep 17 00:00:00 2001 From: Anders Hejlsberg Date: Mon, 17 Jun 2024 10:08:39 +0200 Subject: [PATCH] Accept new baselines --- .../goToTypeDefinition_promiseType.baseline.jsonc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/baselines/reference/goToTypeDefinition_promiseType.baseline.jsonc b/tests/baselines/reference/goToTypeDefinition_promiseType.baseline.jsonc index f84caf2e462..8ff1e530375 100644 --- a/tests/baselines/reference/goToTypeDefinition_promiseType.baseline.jsonc +++ b/tests/baselines/reference/goToTypeDefinition_promiseType.baseline.jsonc @@ -19,14 +19,14 @@ // * @param onrejected The callback to execute when the Promise is rejected. // * @returns A Promise for the completion of which ever callback is executed. // */ -// then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; +// then(deferred onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, deferred onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; // // /** // * Attaches a callback for only the rejection of the Promise. // * @param onrejected The callback to execute when the Promise is rejected. // * @returns A Promise for the completion of the callback. // */ -// catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; +// catch(deferred onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; // }|> // // /** @@ -80,14 +80,14 @@ // * @param onrejected The callback to execute when the Promise is rejected. // * @returns A Promise for the completion of which ever callback is executed. // */ -// then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; +// then(deferred onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, deferred onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; // // /** // * Attaches a callback for only the rejection of the Promise. // * @param onrejected The callback to execute when the Promise is rejected. // * @returns A Promise for the completion of the callback. // */ -// catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; +// catch(deferred onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; // }|> // // /**