From f33d3b695acf3a30d0b9988c211166c916aca0c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 24 Oct 2022 16:14:38 +0200 Subject: [PATCH] Refine a bit TS example MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- examples/typescript/worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/typescript/worker.ts b/examples/typescript/worker.ts index 143bdab1..adc8c434 100644 --- a/examples/typescript/worker.ts +++ b/examples/typescript/worker.ts @@ -1,7 +1,7 @@ import { ThreadWorker } from 'poolifier' export interface MyData { - ok: number + ok: 0 | 1 } export interface MyResponse { -- 2.34.1