From acd0e1cb6de77123798368dbcf48d62a9f1d5006 Mon Sep 17 00:00:00 2001 From: Erik Krogh Kristensen Date: Wed, 6 Feb 2019 13:10:33 +0100 Subject: [PATCH] platform: The parse and toString methods are not maybe present, they are definitely present. --- types/platform/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/platform/index.d.ts b/types/platform/index.d.ts index b0f640d522..c1db7431f3 100644 --- a/types/platform/index.d.ts +++ b/types/platform/index.d.ts @@ -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;