diff --git a/types/cuint/index.d.ts b/types/cuint/index.d.ts index 4b20b33973..e5cc104eb8 100644 --- a/types/cuint/index.d.ts +++ b/types/cuint/index.d.ts @@ -33,7 +33,15 @@ export interface UintConstructor { new (text: string, radix?: number): T; prototype: T; - } +} -export const UINT64: UintConstructor; +export interface Uint64Constructor extends UintConstructor { + // called as a function: + (a00: number, a16: number, a32: number, a48: number): T; + + // called as constructor: + new (a00: number, a16: number, a32: number, a48: number): T; +} + +export const UINT64: Uint64Constructor; export const UINT32: UintConstructor;