Skip to content

rictic/repro-npm-link-typescript-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

To reproduce the error, run tsc at the root of this project.

Tested with versions:

  • 2.2.1
  • 2.2.2-insiders.20170302
  • 2.3.0-dev.20170314

Expected output:

$ tsc

2   export enum Enum {One=1}
                      ~~~

node_modules/@types/foo/index.d.ts(2,21): error TS2300: Duplicate identifier 'One'.


2   export enum Enum {One=1}
                      ~~~

node_modules/bar/node_modules/@types/foo/index.d.ts(2,21): error TS2300: Duplicate identifier 'One'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published