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:
Jordan Rose
2025-10-15 17:50:37 -07:00
committed by GitHub
parent 417673dab8
commit 85686caa01
94 changed files with 2084 additions and 961 deletions

View File

@@ -4,7 +4,7 @@
//
import { LibSignalErrorBase } from '../../Errors.js';
import Native from '../../../Native.js';
import * as Native from '../../Native.js';
export const UNCHECKED_AND_UNCLONED: unique symbol = Symbol();