mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-26 01:35:22 +02:00
node: Combine Native.js and .d.ts into Native.ts
This allows the file to be checked by tsc, which would have caught some of the missing type aliases sooner (now added to Native.ts.in). Strictly speaking the behavior is slightly different: we have returned to exporting many items individually instead of collecting them on a single object. Co-authored-by: Alex Bakon <akonradi@signal.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
//
|
||||
|
||||
import Native from '../../Native.js';
|
||||
import * as Native from '../Native.js';
|
||||
import { Aci } from '../Address.js';
|
||||
import { PublicKey } from '../EcKeys.js';
|
||||
import { Environment, type TokioAsyncContext } from '../net.js';
|
||||
|
||||
Reference in New Issue
Block a user