add template support to type declaration parser
add template support to type declaration parser

jsx/JSX,dj31416/JSX,jsx/JSX,mattn/JSX,jsx/JSX,dj31416/JSX,mattn/JSX,dj31416/JSX,dj31416/JSX,dj31416/JSX,jsx/JSX,jsx/JSX