Finished the TypeScript definition file.