I don't know what's the best practice in ol3: add type annotations even if the compiler is not complaining?