mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
637 B
TypeScript
18 lines
637 B
TypeScript
// Type definitions for angular-ui-router-default 0.5+
|
|
// Project: https://github.com/nonplus/angular-ui-router-default
|
|
// Definitions by: Stepan Riha <https://github.com/nonplus>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference path="../angular-ui-router/angular-ui-router.d.ts" />
|
|
|
|
declare namespace angular.ui {
|
|
export type StateDefaultSpecifier = string
|
|
| ((...args: any[]) => string)
|
|
| ((...args: any[]) => ng.IPromise<string>)
|
|
| (string | ((...args: any[]) => string))[]
|
|
| (string | ((...args: any[]) => ng.IPromise<string>))[];
|
|
interface IState {
|
|
default?: StateDefaultSpecifier
|
|
}
|
|
}
|