From 4e71d642cbd2114fd7d30498005017d458d51848 Mon Sep 17 00:00:00 2001 From: Kenny Lavender <5175120+kennylavender@users.noreply.github.com> Date: Thu, 13 Dec 2018 13:42:48 -0800 Subject: [PATCH] readonly types --- src/API/API.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/API/API.ts b/src/API/API.ts index 37ed0101..5ab205b6 100644 --- a/src/API/API.ts +++ b/src/API/API.ts @@ -21,8 +21,8 @@ export interface APIConfiguration extends LoggingConfiguration, FileControllerCo } export interface API { - start: () => Promise - stop: () => Promise + readonly start: () => Promise + readonly stop: () => Promise } export const API = (configuration: APIConfiguration): API => {