Salvaging lib.d.ts.