diff options
author | WlodekM <[email protected]> | 2025-01-24 19:56:49 +0200 |
---|---|---|
committer | WlodekM <[email protected]> | 2025-01-24 19:56:49 +0200 |
commit | 8280ee972e871b1b8b9d0cc560b037c6836dfd41 (patch) | |
tree | 99703f281abfbe4daf809fba8ef7dff087e314de /screen.ts | |
parent | b4f992ffdac2d3d7f1dcb1042a3b663c2643809a (diff) |
fix type for Screen.client
Diffstat (limited to 'screen.ts')
-rw-r--r-- | screen.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/screen.ts b/screen.ts index 3663172..6da4f38 100644 --- a/screen.ts +++ b/screen.ts @@ -6,6 +6,7 @@ import { Key } from "node:readline"; import type { Element, Input, Text, Button } from "./elements.ts" import { Buffer } from "node:buffer"; import process from "node:process"; +import type { Client } from "./main.ts"; const logs: string[] = []; @@ -22,7 +23,7 @@ export class Screen { name: string; focusedElementId: string = ''; logs = logs - client; + client: Client; constructor(name: string, client: any) { this.name = name; |