TypeScript/tests/cases/compiler/genericRecursiveImplicitConstructorErrors2.ts

26 lines
571 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
module TypeScript2 {
export interface DeclKind { };
export interface PullTypesymbol { };
export interface SymbolLinkKind { };
export enum PullSymbolVisibility {
Private,
Public
}
 
export class PullSymbol {
constructor (name: string, declKind: DeclKind) {
}
// link methods
public addOutgoingLink<A,B,C>(linkTo: PullSymbol, kind: SymbolLinkKind) {
}
public getType<A,B,C>(): PullTypeSymbol<A,B,C> {
return undefined;
}
}
export class PullTypeSymbol <A,B,C>extends PullSymbol {
}
}