]> git.bitcoin.ninja Git - ldk-java/blob - ts/node/crypto.d.ts
[TS] Unify Web and Node.JS output so it can be universal
[ldk-java] / ts / node / crypto.d.ts
1 // Minimal part of the Node crypto API which we depend on.
2 // May be (c) Microsoft licensed under the MIT license, however API's are not generally copyrightable per recent precedent.
3 declare module 'crypto' {
4     namespace webcrypto {
5                 function getRandomValues(TypedArray): void;
6     }
7 }
8 declare module 'node:crypto' {
9     export * from 'crypto';
10 }