chore: rename types -> typedef

This commit is contained in:
CrescentLeaf
2025-09-06 16:37:22 +08:00
parent 28a8eaf337
commit 7c616a2dac
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
import ApiCallbackMessage from "../api/ApiCallbackMessage.ts"
type EventCallbackFunction = (args: { [key: string]: unknown }) => ApiCallbackMessage
export default EventCallbackFunction

View File

@@ -0,0 +1,6 @@
import http from 'node:http'
import https from 'node:https'
type HttpServerLike = http.Server | https.Server
export default HttpServerLike

View File

@@ -0,0 +1,3 @@
type UnknownFunction = (...args: unknown[]) => unknown
export default UnknownFunction