From 22989465538f64e86fe5ac0235e322133b95056c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 20 Aug 2019 02:46:41 +0400 Subject: Initial test application Signed-off-by: Valentin Popov --- src/index.ts | 7 +++++++ src/mainReloader.ts | 3 +++ src/rendererReloader.ts | 3 +++ 3 files changed, 13 insertions(+) create mode 100644 src/index.ts create mode 100644 src/mainReloader.ts create mode 100644 src/rendererReloader.ts (limited to 'src') diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..82df114 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,7 @@ +import { mainReloader } from "./mainReloader"; +import { rendererReloader } from "./rendererReloader"; + +export { + mainReloader, + rendererReloader, +}; diff --git a/src/mainReloader.ts b/src/mainReloader.ts new file mode 100644 index 0000000..5bd0fed --- /dev/null +++ b/src/mainReloader.ts @@ -0,0 +1,3 @@ +type TMainReloader = (paths: string[], ignored?: string[], handler?: (path: string) => void) => void; + +export const mainReloader: TMainReloader = (paths, ignored, handler) => { }; diff --git a/src/rendererReloader.ts b/src/rendererReloader.ts new file mode 100644 index 0000000..63178cf --- /dev/null +++ b/src/rendererReloader.ts @@ -0,0 +1,3 @@ +type TRendererReloader = (paths: string[], ignored?: string[], handler?: (path: string) => void) => void; + +export const rendererReloader: TRendererReloader = (paths, ignored, handler) => { }; -- cgit v1.2.3