Last active
December 21, 2015 03:48
-
-
Save pichsenmeister/6244755 to your computer and use it in GitHub Desktop.
angularJS and typescript model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <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