I have had this problem as well and of course you can add some superfluous code that fulfills the usage for the import/variable but then you have to remember to clean up that code later (essentially discarding the very helpful checking built into the compiler).
I think they would be better off adding a compiler flag for less strict checking for development.
I think they would be better off adding a compiler flag for less strict checking for development.