1
0
Fork 0

refactor(tsc): potentially fix build

master
Hiroyuki 2021-07-26 12:53:25 -04:00
parent 0bf94819d5
commit 8c9f70df10
No known key found for this signature in database
GPG Key ID: C15AC26538975A24
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@ typescript_build:
script: script:
- cp ../config.json ./src/config.json - cp ../config.json ./src/config.json
- yarn install --ignore-engines - yarn install --ignore-engines
- tsc -p ./tsconfig.json - npx tsc -p ./tsconfig.json
lint: lint:
stage: test stage: test

View File

@ -47,7 +47,8 @@
"typeRoots": ["./types"], /* List of folders to include type definitions from. */ "typeRoots": ["./types"], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */ // "types": [], /* Type declaration files to be included in compilation. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"skipLibCheck": true, /* Skips type-checking the installed libraries in node_modules. */
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */