Added TypeScript definition