Skip to content

MichaelMitchell-at/transpile_declaration_bug_repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduction steps

Setup

npm install

Control

First run

node ./node_modules/.bin/tsc -b

Observe that declarations/b.d.ts contains

import { Foo } from "../projA";
export type Bar = {
  [Foo.A]: 1;
  [Foo.B]: 2;
};

Test

Now run

node ./transpile.mjs tsconfig.json declarations

Observe that declarations/b.d.ts contains

export type Bar = {};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published