Skip to content

DavidBruant/jsdoc-import-unused-testcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test case for a (maybe) Typescript bug

git clone https://github.com/DavidBruant/jsdoc-import-unused-testcase
cd jsdoc-import-unused-testcase
npm install
npx tsc

This results in

code.js:1:5 - error TS6133: 'ImportedType' is declared but its value is never read.

1 /** @import {ImportedType} from './types.d.ts' */
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(another unrelated error)

Found 2 errors in the same file, starting at: code.js:1

It says the type is never read, but it is

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •