mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Fixed function signature
This commit is contained in:
Vendored
+4
-4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user