You can use a type declaration or write your own. Take a look at this project http://definitelytyped.org/tsd/
It has type definitions for many popular libraries. And also for angular-ui-bootstrap.
You can then reference the definition in Typescript as follows:
In general, you mainly refer to the library, then in Typescript you must refer to the type definition or provide your own declaration, for example
declare function hex_md5(value: string): string;
if you have a javascript function hex_md5defined somewhere above.
source
share