Skip to content

Conversation

@exocode
Copy link

@exocode exocode commented Sep 26, 2019

Some TypeScript compiler errors are still there, but it runs

@exocode
Copy link
Author

exocode commented Sep 26, 2019

Error part:

api_1  | [17:49:12] Using gulpfile /usr/src/api/gulpfile.js
api_1  | [17:49:12] Starting 'build'...
api_1  | [17:49:12] Starting 'clean:build'...
api_1  | [17:49:12] Finished 'clean:build' after 46 ms
api_1  | [17:49:12] Starting 'tslint'...
api_1  | no-use-before-declare is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead.
api_1  | typeof-compare is deprecated. Starting from TypeScript 2.2 the compiler includes this check which makes this rule redundant.
api_1  | Warning: The 'no-use-before-declare' rule requires type information.
api_1  | [17:49:13] Finished 'tslint' after 913 ms
api_1  | [17:49:13] Starting 'compile:typescript'...
api_1  | src/services/MyDB.ts(130,28): error TS2339: Property 'affectedRows' does not exist on type '{}'.
api_1  | src/services/MyDB.ts(166,32): error TS2339: Property 'forEach' does not exist on type '{}'.
api_1  | src/services/MyDB.ts(166,50): error TS7006: Parameter 'value' implicitly has an 'any' type.
api_1  | [17:49:18] TypeScript: 3 semantic errors
api_1  | [17:49:18] TypeScript: emit succeeded (with errors)
api_1  | [17:49:18] Finished 'compile:typescript' after 5.23 s
api_1  | [17:49:18] Starting 'copy_nontypesript'...
api_1  | [17:49:18] Finished 'copy_nontypesript' after 89 ms
api_1  | [17:49:18] Finished 'build' after 6.3 s
api_1  | [17:49:18] Starting 'watch:poll'...
api_1  | [17:49:18] Finished 'watch:poll' after 294 ms
api_1  | [17:49:19] [nodemon] 1.19.2
api_1  | [17:49:19] [nodemon] to restart at any time, enter `rs`
api_1  | [17:49:19] [nodemon] watching dir(s): src/**/* test/**/*
api_1  | [17:49:19] [nodemon] starting `node ./dist/src/server.js`
api_1  | info: connecting to databaseserver
api_1  | info: database <espota> does not exist -> creating it....
api_1  | info: database created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant