From 9fb3a7d07e97a1ed514bf1d9d1b772d79af2ee96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Berre=C3=9Fem?= Date: Wed, 3 Apr 2019 14:03:15 +0200 Subject: [PATCH] :rotating_light: Remove 'Object' --- types/hummus-recipe/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/hummus-recipe/index.d.ts b/types/hummus-recipe/index.d.ts index be2c68b6b5..ceb135c6d1 100644 --- a/types/hummus-recipe/index.d.ts +++ b/types/hummus-recipe/index.d.ts @@ -112,9 +112,9 @@ declare namespace HummusRecipe { font?: string; size?: number; align?: string; - highlight?: Object | Boolean; - underline?: Object | Boolean; - strikeOut?: Object | Boolean; + highlight?: boolean; + underline?: boolean; + strikeOut?: boolean; textBox?: TextBox; } @@ -281,7 +281,7 @@ declare class HummusRecipe { options?: HummusRecipe.RectangleOptions ): HummusRecipe; - endPDF(callback?: Function): HummusRecipe; + endPDF(callback?: () => any): HummusRecipe; } declare module "hummus-recipe" {