From 3b52b19dc986ee3a2bd72866a3a6fcd1d2771938 Mon Sep 17 00:00:00 2001 From: Raccoon Date: Sat, 12 Jun 2021 07:08:48 +0800 Subject: [PATCH] ts: lib/config/enum.js Signed-off-by: Raccoon --- lib/config/{enum.js => enum.ts} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename lib/config/{enum.js => enum.ts} (76%) diff --git a/lib/config/enum.js b/lib/config/enum.ts similarity index 76% rename from lib/config/enum.js rename to lib/config/enum.ts index 07cdfcfe..25559921 100644 --- a/lib/config/enum.js +++ b/lib/config/enum.ts @@ -1,16 +1,14 @@ -'use strict' - -exports.Environment = { +export const Environment = { development: 'development', production: 'production', test: 'test' -} +}; -exports.Permission = { +export const Permission = { freely: 'freely', editable: 'editable', limited: 'limited', locked: 'locked', protected: 'protected', private: 'private' -} +};