From 093c72befda39cddbedc7ec82a97f231c7125696 Mon Sep 17 00:00:00 2001 From: "Reinhardt, Martin" Date: Thu, 13 Jul 2017 06:56:21 +0200 Subject: [PATCH] fix(type-error): Set correct duration type fixes #28 --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c2f1ae6..35149eb 100644 --- a/index.d.ts +++ b/index.d.ts @@ -42,6 +42,6 @@ declare module 'nativescript-toast' { setDuration(duration: Number): void; } - export function makeText(text: string, duration?: duration): Toast; + export function makeText(text: string, duration?: string): Toast; }