CodeKit2 icon indicating copy to clipboard operation
CodeKit2 copied to clipboard

Bug: Typescript output directory has empty js files

Open subhaze opened this issue 10 years ago • 4 comments

The default is set to produce JS files in /js, however, it's produced right next to the .ts file while also creating a /js with the correct name of the .js file, but that file is empty.

subhaze avatar Nov 15 '15 22:11 subhaze

I believe this was introduced in the bump to TypeScript 1.6

subhaze avatar Nov 15 '15 22:11 subhaze

Weird. I'll take a look at this tonight.

bdkjones avatar Nov 16 '15 22:11 bdkjones

I can't reproduce this over here. Can you send me a project that shows the issue and steps to reproduce?

bdkjones avatar Nov 20 '15 03:11 bdkjones

Here's a dropbox link https://www.dropbox.com/s/bg3rngzoqan3dbv/codekit_typescript.zip?dl=0

I'm running: OSX 10.10.5 CodeKit 2.5.1

I left all the TS stuff as default and just added a couple of example files and ran the TS files via CodeKit. It could be an oversight on a setting I've accidentally set, but something feels off.

You'll see the two TS files in the ts/ and there's the actual JS files right beside them that were produced correctly and then you'll find ts/js with the same JS files but empty.

subhaze avatar Nov 20 '15 04:11 subhaze