typescript 2 scala macro based importer