From 1aa567cd8250d2c890a4fe61dd7c53b61df9a232 Mon Sep 17 00:00:00 2001 From: Mathias Lykkegaard Lorenzen Date: Mon, 2 Dec 2019 19:47:21 +0100 Subject: [PATCH] Titanium updates (#40624) * fix for alloy typings. * fix for typings. * fix for linting issues. * removed redundant keyword. * fix for typo. * losened typings for alloy. * added args. * added missing API. * removal of properties that are better defined manually. * added global index accessor. * fix review comments. * made fireEvent event arg optional. --- types/titanium/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/titanium/index.d.ts b/types/titanium/index.d.ts index 8566aba21c..5fe1c391b3 100644 --- a/types/titanium/index.d.ts +++ b/types/titanium/index.d.ts @@ -19496,7 +19496,7 @@ declare namespace Titanium { /** * Fires a synthesized event to any registered listeners. */ - function fireEvent(name: string, event: any): void; + function fireEvent(name: string, event?: any): void; /** * Applies the properties to the proxy.