improvements of the atmosphere.d.ts (for TypeScript use)