From 19788858473d5bde9ed03c2f2dfc7837b37907dc Mon Sep 17 00:00:00 2001 From: Brian Donovan <1938+eventualbuddha@users.noreply.github.com> Date: Sun, 26 Jan 2020 05:47:07 -0800 Subject: [PATCH] fix(types): ensure all parameters have type annotations Otherwise TypeScript complains about this: `Parameter 'errorName' implicitly has an 'any' type.` --- types.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.d.ts b/types.d.ts index 3c3cb47..8b118f0 100644 --- a/types.d.ts +++ b/types.d.ts @@ -89,7 +89,7 @@ declare module 'dbus-next' { flags: MessageFlag; constructor(msg: MessageLike); - static newError(msg: string, errorName, errorText?: string): Message; + static newError(msg: string, errorName: string, errorText?: string): Message; static newMethodReturn(msg: Message, signature?: string, body?: any[]): Message; static newSignal(path: string, iface: string, name: string, signature?: string, body?: any[]): Message; }