Skip to content

Instantly share code, notes, and snippets.

@asido
Created July 4, 2016 08:28
Show Gist options
  • Save asido/47bbf72831cc56a8159a1068f007139c to your computer and use it in GitHub Desktop.
Save asido/47bbf72831cc56a8159a1068f007139c to your computer and use it in GitHub Desktop.
let MyClassRecord = Immutable.Record({
property: 'defaultValue',
index: 0,
works: true,
valueList: Immutable.List<string>([])
});
export class MyClass extends MyClassRecord {
property:string;
index:number;
truth:boolean;
valueList:Immutable.List<string>
}
let c = new MyClass();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment