mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-03 23:42:50 +00:00
20 lines
633 B
TypeScript
20 lines
633 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
|
|
|
|
import * as aur from "angular-ui-router";
|
|
|
|
declare module "angular" {
|
|
namespace 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
|
|
}
|
|
}
|
|
}
|