Add type definition
Merge pull request #4 from chezou/define-type

Add type definition