TypeScript/tests/cases/compiler/genericRecursiveImplicitConstructorErrors2.ts
2014-07-12 17:30:19 -07:00

26 lines
571 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 {
}
}