platform: The parse and toString methods are not maybe present, they are definitely present.

This commit is contained in:
Erik Krogh Kristensen
2019-02-06 13:10:33 +01:00
parent c807902931
commit acd0e1cb6d
+2 -2
View File
@@ -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;