Skip to content

Typescript compile errors #10

Closed
Closed
@AlexKR

Description

@AlexKR

Typescript version: 1.8.10 (should be the same for typescript < 2)
Web-request version with compile errors: 1.0.7
Last working web-request version: 1.0.6

Errors:

./node_modules/web-request/index.d.ts
Error:(150, 25) TS1110:Type expected.
Error:(150, 25) TS7008:Member 'null' implicitly has an 'any' type.
Error:(177, 5) TS2300:Duplicate identifier 'readonly'.
Error:(177, 14) TS1005:'=' expected.

random.ts
Error:(43, 38) TS2339:Property 'content' does not exist on type 'Response<string>'.

1.0.6 and 1.0.7 have different index.d.ts file

Additional info: error on typescript 1.8.10 from node_modules, system version of typescript - 2.0.3

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