Set up TypeScript for lib

Add a TypeScript build suitable for incremental migration to TypeScript
to the lib package.
This commit is contained in:
Hornwitser committed 2023-08-03 15:01:34 +02:00
1 parent a1ee147c46
commit 90798205e0
16 files changed
+115 -151

No files matched your search

+2 -2
View File
@@ -416,7 +416,7 @@ function handleUnhandledErrors() {
/* eslint-enable node/no-process-exit */
}
const _formatServerOutput = formatServerOutput;
module.exports = {
TerminalFormat,
LinkTransport,
@@ -425,5 +425,5 @@ module.exports = {
queryLog,
// for testing only
_formatServerOutput: formatServerOutput,
_formatServerOutput,
};