Skip to content

Cannot find name 'int' #1

@robert-koch

Description

@robert-koch

With newer versions of Typescript, I am receiving the the following error from the RandomOrgClient.d.ts file:

node_modules/@randomorg/core/types/RandomOrgClient.d.ts:1248:22 - error TS2304: Cannot find name 'int'.
1248         ticketCount: int;

It appears that changing this value to number instead of int resolves the issue, but I am unsure if there are other far reaching consequences to doing so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions