chore: Oops, "long" is actually used + fix TypeScript error.

This commit is contained in:
cpojer
2026-01-31 17:12:28 +09:00
parent 88fe4de151
commit 86d38c2d82
3 changed files with 19 additions and 5 deletions

View File

@@ -187,6 +187,7 @@
"json5": "^2.2.3",
"jszip": "^3.10.1",
"linkedom": "^0.18.12",
"long": "^5.3.2",
"markdown-it": "^14.1.0",
"node-edge-tts": "^1.2.9",
"osc-progress": "^0.3.0",

21
pnpm-lock.yaml generated
View File

@@ -114,6 +114,9 @@ importers:
linkedom:
specifier: ^0.18.12
version: 0.18.12
long:
specifier: ^5.3.2
version: 5.3.2
markdown-it:
specifier: ^14.1.0
version: 14.1.0
@@ -6459,7 +6462,7 @@ snapshots:
dependencies:
'@types/node': 24.10.9
optionalDependencies:
axios: 1.13.4(debug@4.4.3)
axios: 1.13.4
transitivePeerDependencies:
- debug
@@ -6656,7 +6659,7 @@ snapshots:
'@azure/core-auth': 1.10.1
'@azure/msal-node': 3.8.6
'@microsoft/agents-activity': 1.2.3
axios: 1.13.4(debug@4.4.3)
axios: 1.13.4
jsonwebtoken: 9.0.3
jwks-rsa: 3.2.2
object-path: 0.11.8
@@ -7488,7 +7491,7 @@ snapshots:
'@slack/types': 2.19.0
'@slack/web-api': 7.13.0
'@types/express': 5.0.6
axios: 1.13.4(debug@4.4.3)
axios: 1.13.4
express: 5.2.1
path-to-regexp: 8.3.0
raw-body: 3.0.2
@@ -7534,7 +7537,7 @@ snapshots:
'@slack/types': 2.19.0
'@types/node': 25.1.0
'@types/retry': 0.12.0
axios: 1.13.4(debug@4.4.3)
axios: 1.13.4
eventemitter3: 5.0.4
form-data: 4.0.5
is-electron: 2.2.2
@@ -8428,6 +8431,14 @@ snapshots:
aws4@1.13.2: {}
axios@1.13.4:
dependencies:
follow-redirects: 1.15.11
form-data: 4.0.5
proxy-from-env: 1.1.0
transitivePeerDependencies:
- debug
axios@1.13.4(debug@4.4.3):
dependencies:
follow-redirects: 1.15.11(debug@4.4.3)
@@ -9003,6 +9014,8 @@ snapshots:
flatbuffers@24.12.23: {}
follow-redirects@1.15.11: {}
follow-redirects@1.15.11(debug@4.4.3):
optionalDependencies:
debug: 4.4.3

View File

@@ -125,7 +125,7 @@ export async function sendMessageIMessage(
const client = opts.client ?? (await createIMessageRpcClient({ cliPath, dbPath }));
const shouldClose = !opts.client;
try {
const result = await client.request("send", params, {
const result = await client.request<{ ok?: string }>("send", params, {
timeoutMs: opts.timeoutMs,
});
const resolvedId = resolveMessageId(result);