Skip to content

[got] error TS2304: Cannot find name 'URL' #19799

@eduardoweiland

Description

@eduardoweiland

I get this error when trying to use typings for the got package:

node_modules/@types/got/index.d.ts(85,50): error TS2304: Cannot find name 'URL'.

Not sure if that's the cause, but this definition imports Url (that is not used) and uses URL (that is not imported).

node v6.11.2
npm 3.10.10
typescript 2.5.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions