UNPKG

sipp

Version:

An Opinionated, High-Productivity MVC Web Framework in TypeScript

12 lines (11 loc) 534 B
import { RouteMapper, METHOD, IQuery } from '../../routing/RouteMapper'; export declare class Url { private readonly staticPath; private readonly routeMapper; constructor(staticPath: string, routeMapper: RouteMapper); alias(name: string, params?: object, query?: IQuery, method?: METHOD): string; url(relativeUrl: string, params?: object, query?: IQuery, method?: METHOD): string; asset(path: string): string; scriptTag(filePath: string, defer?: boolean): string; styleTag(filePath: string): string; }