Skip to content

Type error in inbuilt @types/node/index.d.ts  #19293

Closed
@mikemaccana

Description

@mikemaccana

TypeScript Version: 2.6.0-dev.20171018

Code

 tsc --lib ES2017 .\packages\myapp-database\index.ts

Expected behavior:

Inbuilt types work.

Actual behavior:

 node_modules/@types/node/index.d.ts(48,13): error TS2403: Subsequent variable declarations must have the same type.  Variable 'process' must be of type 'any', but here has type 'Process'.

A user here is having the same issue, however TS folk asked this to be filed seperately: #9725 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs More InfoThe issue still hasn't been fully clarified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions