Created
September 16, 2014 13:24
-
-
Save nasum/43c3b280c932b769c2c1 to your computer and use it in GitHub Desktop.
TypeScriptでjQueryPluginの型定義ファイルを作る ref: http://qiita.com/tomato360/items/b989dc68c88a050b68dd
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
interface JQuery { | |
hogehoge(val?:string):JQuery; | |
} |
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
interface hogehogeObj{ | |
val :number; | |
st : string; | |
} | |
interface JQuery{ | |
hogehoge(val:hogehogeObj):JQuery | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment