Skip to content

Commit

Permalink
chore!: upgrading to nestjs 9 and node-rfc 2.6.1 (#372)
Browse files Browse the repository at this point in the history
chore!: upgrading to nestjs 9
BREAKING CHANGE: upgrading to node-rfc 2.6.1
  • Loading branch information
alvarolimajr authored Jul 22, 2022
1 parent fc95c36 commit 63d8c10
Show file tree
Hide file tree
Showing 5 changed files with 2,776 additions and 3,356 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
sourceType: 'module',
},
plugins: [
Expand All @@ -17,7 +18,7 @@ module.exports = {
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:jest/recommended',
'plugin:typescript-sort-keys/recommended',
'prettier',
'plugin:prettier/recommended',
],
root: true,
env: {
Expand Down
2 changes: 1 addition & 1 deletion lib/services/sap-pool.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class SapPoolService implements SapService {
let sapClient: SapClient;
try {
sapClient = (await this.sapPool.acquire()) as SapClient;
return (await sapClient.call(rfcName, rfcParams, options)) as T;
return sapClient.call(rfcName, rfcParams, options) as Promise<T>;
} finally {
if (sapClient) {
await sapClient.release();
Expand Down
1 change: 1 addition & 0 deletions nest-cli.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "lib"
}
Loading

0 comments on commit 63d8c10

Please sign in to comment.