"typeof" generic parameter doesn't work

We need a way to reference the type of a generic parameter. For example: class A<T> { x: T; } function doSomething<T>(t: typeof T, a: A<T>) { } Doesn't work, and fails with error "Could not find ...

Id #2462 | Release: None | Updated: Today at 12:06 AM by jamesnw | Created: Thu at 9:54 PM by jamesnw

Exporting definitions for external modules is borked

We'd like to start exporting definition files for external modules we compiled from TypeScript (commonJS/AMD for npm/bower) but the exporter generates bad definition files that seem to ignore the f...

Id #2461 | Release: None | Updated: Thu at 2:05 PM by Bartvds | Created: Thu at 2:05 PM by Bartvds

Inheritance is not working with internal modules

I think this might be related: http://typescript.codeplex.com/workitem/627 I've declared two simple files and I keep getting garbage out for inheritance. Manually referencing these with tags does...

Id #2460 | Release: None | Updated: Thu at 9:49 PM by danquirk | Created: Thu at 4:58 AM by Vaughands

TypeScript support for Universal App Shared project

I recently converted my Windows Store app to a Universal App with a Windows Phone and a Shared project. I moved all of my TS files to the Shared project, but TypeScript doesn't behave the way that ...

Id #2459 | Release: None | Updated: Thu at 11:56 PM by craigktreasure | Created: Thu at 3:09 AM by craigktreasure

Please provide autocomplete for <reference> and import paths

Hi, Visual Studio (2013 Ultimate) provides intellisense for the src attribute for script elements, by reading the file system and displaying available files or folders. It will be quite usef...

Id #2458 | Release: None | Updated: Thu at 7:47 PM by ivogabe | Created: Wed at 1:21 PM by nabog

Unused variables

In tsc.ts line 636 (resolveRelativePath) and line 53 batchCompile, there are two var start = new Date().getTime(); variables which arent used. I know this isn't a real issue because nothing break...

Id #2456 | Release: None | Updated: Wed at 6:30 AM by DvdBrink | Created: Tue at 5:52 PM by DvdBrink

add option for better type inference for indexers

Basically I would like to have better type inference for indexers. I already described issue here: https://typescript.codeplex.com/workitem/2391 but since this would be a breaking change. I sugg...

Id #2455 | Release: None | Updated: Wed at 1:08 AM by danquirk | Created: Mon at 9:52 PM by Mariuszz

VS Express 2013 for Web with Update 2 RC does not provide TypeScript new project templates

I have installed 12.0.30324.00 Update 2 RC and when going to File > New Project, there is no TypeScript node nor any TypeScript related templates to select. Ignoring that and taking an existing J...

Id #2452 | Release: None | Updated: Wed at 1:06 AM by danquirk | Created: Mon at 9:13 AM by Sohra

Use type of 'valueOf' member to determine operator result types

The following demonstrates a small example of a library defining an object that allows using + correctly on variables of this type: function MyNumber(primitiveNumber) { this.wrapped = primitiveNumb...

Id #2451 | Release: None | Updated: Tue at 8:11 AM by wiktork | Created: Sun at 8:07 PM by Airblader

tsc.js ceased to work in Windows Script Host

tsc.js has always worked with JavaScript implementation included with Windows -- Windiws Script Host. However, in v 1.0 it does not work anymore. It breaks because of Array.forEach call, which is...

Id #2450 | Release: None | Updated: Mon at 10:35 PM by mihailik | Created: Apr 19 at 11:02 PM by mihailik