Created
October 12, 2012 21:53
-
-
Save kordless/3881772 to your computer and use it in GitHub Desktop.
Named parameters in typescript
This file contains hidden or 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
function doSomething(name:string, age?:number, height?:number) { | |
} | |
doSomething("James", height:5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment