0
私は、バックボーンを直接使用するタイスクリプトファイルを持っています。しかし、私はバックボーンの独自のバージョンを使用してそれを変更したい。typescriptでバックボーンnoconflictを使用する方法は?
export var ownBackbone :typeof Backbone = Backbone.noConflict();
export class UserContainerView extends ownBackbone.View<UserContainerContainerModel> {
public currentView;
public hasChanges;
collection: ownBackbone.Collection<UserContainerContainerModel>;
constructor(options: any) {
super();
this.collection = options.collection;
this.$el = options.el;
}
initialize(options: any) {
}
close() {
}
}
それはカントの名前を見つけるビルドでエラーを投げownBackbone