diff --git a/lib/index.d.ts b/lib/index.d.ts index 6ac612de..bed089b8 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -78,6 +78,6 @@ export function hasNativeBigInt(): boolean; export function hasBigDecimal(): boolean; -export function setBigInt(bigIntClass: Function | boolean): void; +export function setBigInt(bigIntClass: any): void; -export function setBigDecimal(bigDoubleClass: Function): void; +export function setBigDecimal(bigDoubleClass: any): void; diff --git a/package.json b/package.json index d31f3bbe..87976b41 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "json-z", - "version": "3.0.3", + "version": "3.0.4", "description": "JSON for everyone.", "main": "lib/index.js", + "types": "lib/index.d.ts", "bin": "lib/cli.js", "browser": "dist/index.js", "files": [