Skip to content

Instantly share code, notes, and snippets.

@slovely
Created October 28, 2014 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slovely/a70abb27413f8cf920eb to your computer and use it in GitHub Desktop.
Save slovely/a70abb27413f8cf920eb to your computer and use it in GitHub Desktop.
Complete output from TypeLite fork
declare module TypeLite.Tests.GenericsTests {
interface ClassWithComplexNestedGenericProperty {
GenericsHell: System.Tuple<System.Collections.Generic.KeyValuePair<number, string>, TypeLite.Tests.GenericsTests.BaseGeneric<string>, number, System.Collections.Generic.KeyValuePair<number, DummyNamespace.Test>>;
}
interface BaseGeneric<TType> {
SomeGenericProperty: TType;
SomeGenericArrayProperty: TType[];
}
}
declare module System {
interface Tuple<T1, T2, T3, T4> {
Item1: T1;
Item2: T2;
Item3: T3;
Item4: T4;
}
}
declare module System.Collections.Generic {
interface KeyValuePair<TKey, TValue> {
Key: TKey;
Value: TValue;
}
}
declare module DummyNamespace {
interface Test {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment