.d.ts is commonly used to define a typescript declaration file containing definitions for properties and functions. This gives the benefit to an IDE allowing it to provide intellisense and proper error messages when the declaration file is not adhered to.