mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
platform: The parse and toString methods are not maybe present, they are definitely present.
This commit is contained in:
Vendored
+2
-2
@@ -18,8 +18,8 @@ declare interface Platform {
|
||||
version?: string;
|
||||
toString(): string;
|
||||
};
|
||||
parse?(ua: string): Platform;
|
||||
toString?(): string;
|
||||
parse(ua: string): Platform;
|
||||
toString(): string;
|
||||
}
|
||||
|
||||
declare var platform: Platform;
|
||||
|
||||
Reference in New Issue
Block a user