detect type completion in import with curly braces