Skip to content

Instantly share code, notes, and snippets.

@nicknisi
Created October 26, 2016 01:54
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 nicknisi/65a17505292184b1aa098730aa0f8dae to your computer and use it in GitHub Desktop.
Save nicknisi/65a17505292184b1aa098730aa0f8dae to your computer and use it in GitHub Desktop.
Neil's TypeScript Example
let viewForGridChildren: {
header: VNode,
body: VNode,
renderMaquette: () => VNode
} = {
header: null,
body: null,
renderMaquette: function() {
return h('table.maquette', [this.header, this.body]);
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment