From a80df869a92c330fbad9695057720b11a18af901 Mon Sep 17 00:00:00 2001 From: Doan Luu Duc Tai Date: Sat, 31 Oct 2026 13:08:08 -0500 Subject: Forbid Rust lints and enforce strict typed TypeScript linting --- crates/chat-crypto/browser/protocol.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/chat-crypto/browser/protocol.d.ts') diff --git a/crates/chat-crypto/browser/protocol.d.ts b/crates/chat-crypto/browser/protocol.d.ts index 6803c4c..30b5bf8 100644 --- a/crates/chat-crypto/browser/protocol.d.ts +++ b/crates/chat-crypto/browser/protocol.d.ts @@ -49,9 +49,9 @@ declare namespace StackChat { interface WorkerRequest { bytes: ArrayBuffer; request: CryptoRequest } interface Execution { output: string; randomCalls: number; randomBytes: number } interface Wasi { - runCommand(bytes: ArrayBuffer, request: CryptoRequest): Promise; - runProbe(bytes: ArrayBuffer): Promise; + readonly runCommand: (bytes: ArrayBuffer, request: CryptoRequest) => Promise; + readonly runProbe: (bytes: ArrayBuffer) => Promise; } } -declare var stackChatWasi: Readonly; +declare const stackChatWasi: Readonly; -- cgit v1.2.3