Hello,
The documentation on the following page seems to be missing:
https://typescript.codeplex.com/wikipage?title=https://github.com/Microsoft/TypeScript/issues&referringTitle=Writing Definiti...
Id #2674 | Release:
None
| Updated: Dec 2, 2015 at 5:39 AM by Think7 | Created: Dec 2, 2015 at 5:39 AM by Think7
add Attributes to implement patterns like in Dart:
@Observable
class hello {
}
Id #2673 | Release:
None
| Updated: Aug 10, 2015 at 1:45 PM by furesoft | Created: Aug 10, 2015 at 1:45 PM by furesoft
consider the following class
module DesignPtn{
export interface IBaseBO {
GetById(id: number): IBaseBO
}
export class UserBO implements IBaseBO {
Id: number;
constructor(id: number) {
...
Id #2672 | Release:
None
| Updated: Feb 4 at 8:26 PM by alpgiray | Created: Jul 14, 2015 at 9:25 AM by nataraj7585
consider the following class.
class GenericPractice<T extends CouponInfo>{
private entity: T;
constructor(entity: T) {
this.entity = entity;
}
public add(item: T): string {
return item.toS...
Id #2671 | Release:
None
| Updated: May 27, 2015 at 5:13 AM by paullo | Created: May 27, 2015 at 5:13 AM by paullo
See https://github.com/Microsoft/TypeScript/issues/3166
Id #2670 | Release:
None
| Updated: May 14, 2015 at 11:40 AM by nabog | Created: May 14, 2015 at 11:32 AM by nabog
I tried installing the new TS 1.5 beta, but had to uninstall due to an issue w/ it handling webgl variables. (i have another issue open for that).
However, I was unable to successfully revert bac...
Id #2669 | Release:
None
| Updated: May 7, 2015 at 3:26 PM by memetolsen | Created: May 1, 2015 at 2:13 AM by sharpiro
I can no longer create a variable of type WebGLRenderingContext without error.
I used to have this:
export var gl: WebGLRenderingContext;
Now it seems to expect this:
export var gl: CanvasRend...
Id #2668 | Release:
None
| Updated: May 2, 2015 at 12:10 AM by mhegazy | Created: May 1, 2015 at 12:38 AM by sharpiro
I am using jQuery AJAX to pass in additional data with the settings
.ajax({
url: priceUrl,
type: "GET",
datatype: "json",
contentType: "application/json; charset=utf-8",
aadv...
Id #2667 | Release:
None
| Updated: Apr 29, 2015 at 6:03 AM by jamesnw | Created: Apr 28, 2015 at 12:23 PM by ppumkin
I ran into an issue, regarding the resize on scroll. I have to make a web application, that has a list of products. On scroll, the header receives a new class "small" and resizes. I tried to make t...
Id #2666 | Release:
None
| Updated: Apr 23, 2015 at 5:01 AM by jamesnw | Created: Apr 22, 2015 at 7:30 AM by IuliaDobra
class Animal {
}
class Greeter {
greet<T extends Animal>(): T {
var thing:Animal = new Animal();
return thing;
}
}
var animal = new Greeter().greet<Animal>(new Animal());
The previous c...
Id #2665 | Release:
None
| Updated: Apr 19, 2015 at 8:09 PM by mhegazy | Created: Apr 18, 2015 at 9:54 PM by KyleInAction