From 360a22f92afcce07e460af9f9442ebad6108a776 Mon Sep 17 00:00:00 2001 From: anhe-odoo Date: Thu, 1 Jun 2023 10:26:20 +0000 Subject: [PATCH] [IMP] congif: enables type checking for binded functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task Description Currently all binded function are type as any. This change aims to for type checking on binded function in TypeScript. Related Task/PR Task-3344661 closes odoo/o-spreadsheet#2524 Signed-off-by: Lucas Lefèvre (lul) --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index a61f67e37..f762e18be 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,7 +17,8 @@ "esModuleInterop": true, "allowJs": true, "preserveWatchOutput": true, - "sourceMap": true + "sourceMap": true, + "strictBindCallApply": true }, "include": ["src"] }