Angular-ui-bootstrap.d.ts 是 angular-ui.github.io/bootstrap 的 TypeScript 模拟?

Angular-ui-bootstrap.d.ts is a TypeScript analog for angular-ui.github.io/bootstrap?

有人知道 angular-ui-bootstrap.d.ts an analog for UI Bootstrap 吗?

它是否完全涵盖 ui bootstrap 功能?我尝试使用 TS $modal,似乎有时它的工作方式与 js 版本不同。

谢谢,弗拉德。

is a TypeScript analog for angular-ui.github.io/bootstrap?

是的。基于项目 url :https://github.com/borisyankov/DefinitelyTyped/blob/master/angular-ui-bootstrap/angular-ui-bootstrap.d.ts#L2

ModalService 似乎是 $modal https://github.com/borisyankov/DefinitelyTyped/blob/master/angular-ui-bootstrap/angular-ui-bootstrap.d.ts#L171

的类比

Does it fully covers ui bootstrap functionality? I tried to use TS $modal and seems that sometimes it works differently from it's js version.

A .d.ts 只是一种文档形式。它可能像任何其他文档一样过时。