mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
15 lines
468 B
TypeScript
15 lines
468 B
TypeScript
// Type definitions for app-router
|
|
// Project: https://github.com/erikringsmuth/app-router
|
|
// Definitions by: Louis Grignon <https://github.com/lgrignon>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
///<reference path="polymer.d.ts"/>
|
|
|
|
declare module PolymerComponents {
|
|
module App {
|
|
export interface Router extends PolymerElement, HTMLElement {
|
|
init(): void;
|
|
go(path: string, options?: { replace?: boolean }): void;
|
|
}
|
|
}
|
|
}
|