improve atom/atom.d.ts and text-buffer/text-buffer.d.ts