add a TypeScript definition file