import { assert } from 'chai' ; class Address { public city : string = "San Francisco" ; public state : string = "CA" ; public zip : number = 94107 ; constructor ( city , state , zip ) { this . city = city ; this . state = state ; this . zip = zip ; } static create ( address ) { let result = Object . create ( Address . prototype ) ; Object . assign ( result , address ) ; return result ; } } describe ( 'Partials' , function ( ) { xit ( "Test basic partial" , function ( ) { Address . create ( { } ) ; } ) ; xit ( "Test defaults with partials" , function ( ) { let address = Address . create ( { } ) ; assert . equal ( address . city , "San Francisco" ) ; } ) ; xit ( "Readonly types." , function ( ) { let address = Address . create ( { } ) ; assert . equal ( address . city , "San Francisco" ) ; } ) ; } ) ;