Sometimes I need to enumerate an enum's values. Currently I need to use object key enumeration and filter out either the numeric or non-numeric values.
An alternative would be if typescript made ...
Id #2652 | Release:
| Updated: Wed at 11:03 PM by fizzz | Created: Wed at 11:03 PM by fizzz
Uploading the repro here since GitHub does not permit attachements.
Please see https://github.com/Microsoft/TypeScript/issues/1210 for details.
Id #2651 | Release:
| Updated: Dec 15 at 3:16 PM by nabog | Created: Dec 15 at 3:16 PM by nabog
In the following code, the Animal's constructor is invoking Horse's move method, which is ok, but the Horse's type is still undefined, which is not ok.
The following example was compiled using gu...
Id #2650 | Release:
| Updated: Dec 1 at 3:10 AM by jamesnw | Created: Nov 30 at 8:38 PM by nevcos
After the update of VS 2013 update 4 to TS 1.3 I started experiencing offsets when debugging in Opera.
Now some lines are working properly and some are off.
If you need any other info please re...
Id #2649 | Release:
| Updated: Nov 13 at 4:54 PM by WaldemarH | Created: Nov 13 at 4:06 PM by WaldemarH
I know this issue has been raised and closed in the past, but I'm getting this error now with version 1.1 of the lib.d.ts.
Id #2648 | Release:
| Updated: Nov 5 at 5:48 PM by mhegazy | Created: Oct 30 at 2:36 PM by PaulMouchet
I have recently begun getting the error 'The "VsTsc" task failed unexpectedly' whenever i try to build my web project. This is the build log:
Id #2647 | Release:
| Updated: Oct 28 at 6:57 PM by lego290 | Created: Oct 26 at 3:50 PM by lego290
Using tsc 220.127.116.11:
import MyModule = require('MyModule');
Then compile as AMD:
tsc -m amd MyModule.ts
Fails with error:
Id #2646 | Release:
| Updated: Oct 2 at 10:45 PM by drewnoakes | Created: Oct 2 at 10:42 PM by drewnoakes
Type checking in cast is discussed here. However, there are very practical scenarios that the type checking is too much.
For example, we need to extend DOM Node object to add a few extra properti...
Id #2645 | Release:
| Updated: Sep 27 at 12:04 AM by cnshenj | Created: Sep 26 at 8:15 PM by cnshenj
Create a Visual Studio 2013 project and delete all ts files so there is nothing to build, then hit build and there should be a descriptive error like "Error: No files to build found", instead an in...
Id #2644 | Release:
| Updated: Sep 22 at 11:06 PM by fermmm | Created: Sep 22 at 11:06 PM by fermmm
I have about a hundred TS files, with all kinds of dependencies and was managing this by placing this in the to...
Id #2643 | Release:
| Updated: Oct 2 at 8:16 AM by alasdaircs | Created: Aug 25 at 3:43 PM by Flion