Skip to content

Instantly share code, notes, and snippets.

@pichsenmeister
Last active December 21, 2015 03:48
Show Gist options
  • Save pichsenmeister/6244755 to your computer and use it in GitHub Desktop.
Save pichsenmeister/6244755 to your computer and use it in GitHub Desktop.
angularJS and typescript model
/// <reference path='../_all.ts' />
module angularTs {
'use strict';
export class Coffee {
constructor(
public milk: Milk,
public size: number,
public name: string){}
}
export class Milk {
constructor(
public size: number,
public type: string){}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment