add completion on typeof directive