extend typeof directive
add completion on typeof directive
Merge pull request #39 from trefis/master

extend typeof directive