Merge pull request #12574 from DefinitelyTyped/angular_ui_router_uib_modal_2.0

Upgrade angular-ui-router-uib-modal for types-2.0
This commit is contained in:
Yui
2016-11-10 15:12:59 -08:00
committed by GitHub
4 changed files with 26 additions and 7 deletions

View File

@@ -14,6 +14,6 @@
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": false
"forceConsistentCasingInFileNames": true
}
}

View File

@@ -1,5 +1,3 @@
/// <reference path="./angular-ui-router-uib-modal.d.ts" />
angular.module("test", [
"ui.bootstrap",
"ui.router",

View File

@@ -3,10 +3,12 @@
// Definitions by: Stepan Riha <https://github.com/nonplus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../angular-ui-router/angular-ui-router.d.ts" />
import * as auir from "angular-ui-router";
declare namespace angular.ui {
interface IState {
modal?: boolean | string[];
declare module "angular" {
namespace ui {
interface IState {
modal?: boolean | string[];
}
}
}

View File

@@ -0,0 +1,19 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"angular-ui-router-uib-modal-tests.ts"
]
}