From 65b73f06bea168467f6b88d04a6730b7d8938de9 Mon Sep 17 00:00:00 2001 From: Samuel Date: Fri, 22 May 2026 09:01:05 +1000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#74913=20feat(b?= =?UTF-8?q?ig.js):=20add=20bigint=20support=20to=20BigSource=20for=20v7.0.?= =?UTF-8?q?1=20by=20@sampnorris?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/big.js/index.d.ts | 2 +- types/big.js/package.json | 2 +- types/big.js/test/big.js-import-default-tests.ts | 5 +++++ types/big.js/test/big.js-module-tests.ts | 5 +++++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/types/big.js/index.d.ts b/types/big.js/index.d.ts index cdc82df69ed4b4..10c6383e7a7e94 100644 --- a/types/big.js/index.d.ts +++ b/types/big.js/index.d.ts @@ -1,5 +1,5 @@ declare namespace Big { - type BigSource = number | string | Big; + type BigSource = number | string | Big | bigint; /** * GT = 1, EQ = 0, LT = -1 diff --git a/types/big.js/package.json b/types/big.js/package.json index 2e1f51d819d5b4..aed89495ac24e0 100644 --- a/types/big.js/package.json +++ b/types/big.js/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/big.js", - "version": "6.2.9999", + "version": "7.0.9999", "projects": [ "https://github.com/MikeMcl/big.js/" ], diff --git a/types/big.js/test/big.js-import-default-tests.ts b/types/big.js/test/big.js-import-default-tests.ts index 6a3640b3593ef9..0d0955f63068b5 100644 --- a/types/big.js/test/big.js-import-default-tests.ts +++ b/types/big.js/test/big.js-import-default-tests.ts @@ -355,6 +355,11 @@ function testMultipleConstructors() { y.div(3); // 1.6666666667 } +function bigintTests() { + const x: Big = new Big(123n); + Big(456n).plus(789n); +} + function multipleTypesAccepted(n: number | Big | string) { const y = Big(n).minus(n).mod(n).plus(n).times(n); y.cmp(n); diff --git a/types/big.js/test/big.js-module-tests.ts b/types/big.js/test/big.js-module-tests.ts index 749307aa490db2..883529bc2bd7a6 100644 --- a/types/big.js/test/big.js-module-tests.ts +++ b/types/big.js/test/big.js-module-tests.ts @@ -355,6 +355,11 @@ function testMultipleConstructors() { y.div(3); // 1.6666666667 } +function bigintTests() { + const x: Big = new Big(123n); + Big(456n).plus(789n); +} + function multipleTypesAccepted(n: number | Big | string) { const y = Big(n).minus(n).mod(n).plus(n).times(n); y.cmp(n); From ce6d550f9ae837b90d47e86cf60228fbd86ba06a Mon Sep 17 00:00:00 2001 From: Sam Ramon <15154970+samantharamon@users.noreply.github.com> Date: Thu, 21 May 2026 16:22:15 -0700 Subject: [PATCH 2/2] [office-js-preview] (Outlook) Update name of decryption event (#75032) --- types/office-js-preview/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 051b80ef078b61..6f922b01c83ac8 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -21512,7 +21512,7 @@ declare namespace Office { } /** * Specifies the behavior of an {@link https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption | encryption add-in} after it completes processing an - * {@link https://learn.microsoft.com/javascript/api/office/office.eventtype#fields | OnMessageRead} event. + * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation#outlook-events | OnMessageDecrypt} event. * * @remarks * @@ -21527,7 +21527,7 @@ declare namespace Office { interface MessageDecryptEventCompletedOptions { /** * When you use the {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal completion of an event handler, - * this value indicates if the `OnMessageRead` event should continue to run or be canceled. If the `allowEvent` property is set to `true`, the decrypted contents of the message is displayed. + * this value indicates if the `OnMessageDecrypt` event should continue to run or be canceled. If the `allowEvent` property is set to `true`, the decrypted contents of the message is displayed. * * @remarks *