taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 9bf6de9429a61970dd9b704515724932ff9c9063
parent 7231d19a15c9204271a10895271342dc9a80a2be
Author: Florian Dold <florian@dold.me>
Date:   Sun, 17 May 2026 20:45:24 +0200

-fix TypeScript annotation

Prettier re-indented, and TypeScript is sensitive to newlines with
ts-expect-error annotations (known limitation).

Diffstat:
Mpackages/taler-util/src/prng-browser.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/taler-util/src/prng-browser.ts b/packages/taler-util/src/prng-browser.ts @@ -12,8 +12,8 @@ const nullRandom = { export function loadBrowserPrng() { // Initialize PRNG if environment provides CSPRNG. // If not, methods calling randombytes will throw. - // @ts-expect-error self is not defined const cr = + // @ts-expect-error self is not defined typeof self !== "undefined" ? self.crypto || self.msCrypto : nullRandom; const QUOTA = 65536;