Fixed function signature

This commit is contained in:
Christian Rackerseder
2017-01-06 12:27:28 +01:00
parent 33f91fb45c
commit 6b165e026d
+4 -4
View File
@@ -10,9 +10,9 @@ export interface Reference {
}
export interface Link {
refs: Reference[];
has: (attribute: string, value: string) => boolean;
get: (attribute: string, value: string) => Reference;
rel: (value: string) => Reference;
set: (ref: Reference) => Reference;
has(attribute: string, value: string): boolean;
get(attribute: string, value: string): Reference;
rel(value: string): Reference;
set(ref: Reference): Reference;
}
export function parse(header: string): Link;