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); 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 *