From: Jérôme Benoit Date: Mon, 24 Oct 2022 14:14:38 +0000 (+0200) Subject: Refine a bit TS example X-Git-Tag: v2.3.8~111 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f33d3b695acf3a30d0b9988c211166c916aca0c5;p=poolifier.git Refine a bit TS example Signed-off-by: Jérôme Benoit --- 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 {