mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
fix test failures
This commit is contained in:
parent
29e75d32e1
commit
321c4ddf20
@ -1,4 +1,5 @@
|
||||
|
||||
import * as angular from 'angular';
|
||||
|
||||
import permissionNamespace = angular.permission;
|
||||
import { permission, ngPermission, uiPermission } from "angular-permission";
|
||||
|
||||
1
angular-permission/index.d.ts
vendored
1
angular-permission/index.d.ts
vendored
@ -176,6 +176,7 @@ declare module 'angular' {
|
||||
options?: angular.ui.IStateOptions;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
declare module "angular-permission" {
|
||||
export var permission: string;
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
/// <reference path="./bezier-js.d.ts" />
|
||||
|
||||
function test() {
|
||||
|
||||
var bezierjs: typeof BezierJs;
|
||||
|
||||
@ -54,7 +54,7 @@ $(function() {
|
||||
$("#ex7").slider();
|
||||
|
||||
$("#ex7-enabled").click(function() {
|
||||
if(this.checked) {
|
||||
if((this as HTMLInputElement).checked) {
|
||||
// With JQuery
|
||||
$("#ex7").slider("enable");
|
||||
}
|
||||
|
||||
@ -480,7 +480,7 @@ $(document).ready(function () {
|
||||
var cell_invalidate = cell.invalidate();
|
||||
var cell_invalidate = cell.invalidate("data");
|
||||
$('#example tbody').on('click', 'td', function () {
|
||||
this.innerHTML = parseInt(this.innerHTML) + 1;
|
||||
this.innerHTML = (parseInt(this.innerHTML) + 1).toString();
|
||||
dt.cell(this).invalidate().draw();
|
||||
});
|
||||
|
||||
@ -676,7 +676,7 @@ $(document).ready(function () {
|
||||
$('#column3_search').on('keyup', function () {
|
||||
dt
|
||||
.columns(3)
|
||||
.search(this.value)
|
||||
.search((this as HTMLInputElement).value)
|
||||
.draw();
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user