Annotate the return type defenition of  for TypeScript.