+1 for the type signature. I would normally say it isn't necessary for typescript, but it helps when reading the raw js.