jsurl/jsurl-tests.ts(16,7): error TS7017: Index signature of object type implicitly has an 'any' type.
This commit is contained in:
Alexey Gorshkov
2016-01-03 02:13:24 +03:00
parent 6259fa1e5b
commit 4de193b136
2 changed files with 12 additions and 3 deletions
+4
View File
@@ -3,6 +3,10 @@
// Definitions by: Alexey Gorshkov <https://github.com/agorshkov23>
// Definitions: https://github.com/agorshkov23/DefinitelyTyped
interface UrlQuery {
clear: () => void;
}
declare class Url<T> {
constructor();
constructor(url: string);