Skip to content

Commit 4cd3451

Browse files
author
DylanBulmer
committed
update typings
1 parent da0424c commit 4cd3451

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"test": "jest --config jest.config.json --passWithNoTests --coverage",
2222
"build:esm": "tsc --project tsconfig.esm.json",
2323
"build:cjs": "tsc --project tsconfig.cjs.json",
24-
"build": "yarn clean && yarn build:cjs && yarn build:esm && ./bin/post-build.sh",
24+
"build": "yarn build:cjs && yarn build:esm && ./bin/post-build.sh",
2525
"clean": "rm -rf ./dist/*",
2626
"format": "prettier --write \"src/**/*.(ts|js)\"",
2727
"lint": "eslint -c .eslintrc.json --ignore-path .eslintignore --ext .ts src",

src/config/NodeConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
export const NodeConfig: {
2-
env: string;
2+
env: "production" | "developement" | "testing";
33
version: string;
44
modules: string[];
55
yarnVersion: string;
66
} = {
7-
env: process.env.NODE_ENV as string,
7+
env: process.env.NODE_ENV as "production" | "developement" | "testing",
88
version: process.env.NODE_VERSION as string,
99
modules: Object.keys(process.env)
1010
.filter(m => /npm_package_dependencies_/g.test(m))

0 commit comments

Comments
 (0)