diff --git a/index.d.ts b/index.d.ts index af000cf..598d94f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -40,7 +40,7 @@ declare const fnv1a: { //=> 13487074350300261116944693128525960095n ``` */ - bigInt(string: string, options?: fnv1a.Options): BigInt; + bigInt(string: string, options?: fnv1a.Options): bigint; }; export = fnv1a; diff --git a/index.test-d.ts b/index.test-d.ts index 0c796a7..cbf835b 100644 --- a/index.test-d.ts +++ b/index.test-d.ts @@ -2,4 +2,4 @@ import {expectType} from 'tsd'; import fnv1a = require('.'); expectType(fnv1a('🦄🌈')); -expectType(fnv1a.bigInt('🦄🌈', {size: 128})); +expectType(fnv1a.bigInt('🦄🌈', {size: 128}));