From e326d3477483575b66efecae52c7dd014534fdf6 Mon Sep 17 00:00:00 2001 From: Bennet Robin Fabian Date: Tue, 24 May 2022 16:52:08 +0200 Subject: [PATCH] Fixed auto-generated type definition --- index.d.ts | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index b9ad47d..f5d3671 100644 --- a/index.d.ts +++ b/index.d.ts @@ -89,7 +89,7 @@ export default class IconJar { * @return string * @throws CreationException */ - save(pathToSave: any): string; + save(pathToSave: string): string; } export declare class Icon { static readonly TYPE_UNKNOWN = -1; @@ -165,7 +165,7 @@ export declare class Icon { * * @return number */ - static getType(file: any): 1 | -1 | 0 | 2 | 3 | 4 | 5 | 6; + static getType(file: string): 1 | -1 | 0 | 2 | 3 | 4 | 5 | 6; /** * @param string tag * diff --git a/package.json b/package.json index f358426..5a43aa1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iconjar-exporter", - "version": "1.0.9", + "version": "1.0.10", "description": "", "main": "index.js", "devDependencies": {