refactor: trim startup channel type exports

This commit is contained in:
Peter Steinberger
2026-05-02 00:52:35 +01:00
parent f6b0281298
commit ca01994900
4 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import { type EnvMap, resolveAutoNodeExtraCaCerts } from "./node-extra-ca-certs.js";
export type NodeStartupTlsEnvironment = {
type NodeStartupTlsEnvironment = {
NODE_EXTRA_CA_CERTS?: string;
NODE_USE_SYSTEM_CA?: string;
};

View File

@@ -27,7 +27,7 @@ type ChannelPresenceOptions = {
export type ChannelPresenceSignalSource = "config" | "env" | "persisted-auth";
export type ChannelPresenceSignal = {
type ChannelPresenceSignal = {
channelId: string;
source: ChannelPresenceSignalSource;
};

View File

@@ -1,6 +1,6 @@
type AsyncTick = () => Promise<void> | void;
export type TypingKeepaliveLoop = {
type TypingKeepaliveLoop = {
tick: () => Promise<void>;
start: () => void;
stop: () => void;

View File

@@ -1,4 +1,4 @@
export type TypingStartGuard = {
type TypingStartGuard = {
run: (start: () => Promise<void> | void) => Promise<"started" | "skipped" | "failed" | "tripped">;
reset: () => void;
isTripped: () => boolean;