Comparing version 2.0.18 to 2.0.19
{ | ||
"name": "jwidget", | ||
"version": "2.0.18", | ||
"version": "2.0.19", | ||
"description": "Object-oriented FrontEnd MV framework", | ||
@@ -5,0 +5,0 @@ "homepage": "http://enepomnyaschih.github.io/jwidget", |
@@ -18,3 +18,4 @@ /// <reference types="jquery" /> | ||
} | ||
export declare function append<P, U extends P>(base: Endpoint<P>, suffix: string | string[] | Suffix<U>): Endpoint<U>; | ||
export declare const root: () => string; | ||
export declare function append<P>(base: Endpoint<P>, suffix: string | string[]): Endpoint<P>; | ||
export declare function append<P, U extends P>(base: Endpoint<P>, suffix: Suffix<U>): Endpoint<U>; | ||
export declare const root: Endpoint<{}>; |
@@ -56,2 +56,4 @@ import {isNil} from "."; | ||
export function append<P>(base: Endpoint<P>, suffix: string | string[]): Endpoint<P>; | ||
export function append<P, U extends P>(base: Endpoint<P>, suffix: Suffix<U>): Endpoint<U>; | ||
export function append<P, U extends P>(base: Endpoint<P>, suffix: string | string[] | Suffix<U>): Endpoint<U> { | ||
@@ -61,2 +63,2 @@ return (params: U) => join(base(params), compute(suffix, params)); | ||
export const root = () => ""; | ||
export const root: Endpoint<{}> = () => ""; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1894240
41944