Update cookies.d.ts

Updated for Typescript 1.0