From 4009a6267d2019526c90d03a2546185491051668 Mon Sep 17 00:00:00 2001 From: Roman Antl Date: Tue, 27 Jun 2017 18:55:35 +0200 Subject: [PATCH] Update index.tsx Path and callback on interface is optional --- app/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.tsx b/app/index.tsx index 76eaa45..0584c40 100644 --- a/app/index.tsx +++ b/app/index.tsx @@ -11,7 +11,7 @@ import { counterApp } from './reducers'; declare const require: (name: String) => any; interface IHotModule { - hot?: { accept: (path: string, callback: () => void) => void }; + hot?: { accept: (path?: string, callback?: () => void) => void }; }; declare const module: IHotModule;