Skip to content

Instantly share code, notes, and snippets.

@asido
Created July 4, 2016 08:29
Show Gist options
  • Save asido/06919e27177ea982fcd77c371c38e46a to your computer and use it in GitHub Desktop.
Save asido/06919e27177ea982fcd77c371c38e46a 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