improve atom/atom.d.ts and pathwatcher/pathwatcher.d.ts