Skip to content

Feat/nestjs s3 client #105

Feat/nestjs s3 client

Feat/nestjs s3 client #105

GitHub Actions / TypeCheck failed Sep 13, 2024 in 0s

Errors 423

Found 423 errors

Annotations

Check failure on line 8 in packages/nestjs-dataloader/src/decorators/order-result-by-key.decorator.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Parameter 'keys' implicitly has an 'any' type.

Parameter 'keys' implicitly has an 'any' type.
Raw output
   6 |
   7 |     // eslint-disable-next-line func-names
>  8 |     descriptor.value = async function (keys, ...args) {
     |                                        ^
   9 |       const method = original.bind(this)
  10 |       const result = await method(keys, ...args)
  11 |

Check failure on line 8 in packages/nestjs-dataloader/src/decorators/order-result-by-key.decorator.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Rest parameter 'args' implicitly has an 'any[]' type.

Rest parameter 'args' implicitly has an 'any[]' type.
Raw output
   6 |
   7 |     // eslint-disable-next-line func-names
>  8 |     descriptor.value = async function (keys, ...args) {
     |                                              ^
   9 |       const method = original.bind(this)
  10 |       const result = await method(keys, ...args)
  11 |

Check failure on line 13 in packages/nestjs-dataloader/src/decorators/order-result-by-key.decorator.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Parameter 'res' implicitly has an 'any' type.

Parameter 'res' implicitly has an 'any' type.
Raw output
  11 |
  12 |       const resultByKey = result.reduce(
> 13 |         (res, item) => ({
     |          ^
  14 |           ...res,
  15 |           [item[key]]: item,
  16 |         }),

Check failure on line 13 in packages/nestjs-dataloader/src/decorators/order-result-by-key.decorator.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Parameter 'item' implicitly has an 'any' type.

Parameter 'item' implicitly has an 'any' type.
Raw output
  11 |
  12 |       const resultByKey = result.reduce(
> 13 |         (res, item) => ({
     |               ^
  14 |           ...res,
  15 |           [item[key]]: item,
  16 |         }),

Check failure on line 20 in packages/nestjs-dataloader/src/decorators/order-result-by-key.decorator.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Parameter 'itemKey' implicitly has an 'any' type.

Parameter 'itemKey' implicitly has an 'any' type.
Raw output
  18 |       )
  19 |
> 20 |       return keys.map((itemKey) => resultByKey[itemKey] || defaultValue)
     |                        ^
  21 |     }
  22 |
  23 |     return descriptor

Check failure on line 10 in packages/nestjs-dataloader/src/interceptors/data-loader.interceptor.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Could not find a declaration file for module 'rxjs'. '/home/runner/work/nestjs/.yarn/berry/cache/rxjs-npm-7.5.4-1527612cf9-10c0.zip/node_modules/rxjs/dist/cjs/index.js' implicitly has an 'any' type.

Could not find a declaration file for module 'rxjs'. '/home/runner/work/nestjs/.yarn/berry/cache/rxjs-npm-7.5.4-1527612cf9-10c0.zip/node_modules/rxjs/dist/cjs/index.js' implicitly has an 'any' type.
  If the 'rxjs' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module 'rxjs';`
Raw output
   8 | import { GraphQLExecutionContext }      from '@nestjs/graphql'
   9 |
> 10 | import { Observable }                   from 'rxjs'
     |                                              ^
  11 |
  12 | import { GET_LOADER_CONTEXT_KEY }       from '../constants'
  13 | import { NestDataLoader }               from '../interfaces'

Check failure on line 0 in packages/nestjs-external-renderer/integration/src/exec.controller.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Parameter 'res' implicitly has an 'any' type.

Parameter 'res' implicitly has an 'any' type.
Raw output
Parameter 'res' implicitly has an 'any' type.

Check failure on line 0 in packages/nestjs-external-renderer/integration/src/render.controller.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Parameter 'body' implicitly has an 'any' type.

Parameter 'body' implicitly has an 'any' type.
Raw output
Parameter 'body' implicitly has an 'any' type.

Check failure on line 9 in packages/nestjs-external-renderer/integration/test/render.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Could not find a declaration file for module 'supertest'. '/home/runner/work/nestjs/.yarn/berry/cache/supertest-npm-6.3.3-2e2b5bc83a-10c0.zip/node_modules/supertest/index.js' implicitly has an 'any' type.

Could not find a declaration file for module 'supertest'. '/home/runner/work/nestjs/.yarn/berry/cache/supertest-npm-6.3.3-2e2b5bc83a-10c0.zip/node_modules/supertest/index.js' implicitly has an 'any' type.
  If the 'supertest' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/supertest'
Raw output
   7 |
   8 | import getPort                               from 'get-port'
>  9 | import request                               from 'supertest'
     |                                                   ^
  10 |
  11 | import { EXTERNAL_RENDERER_MODULE_OPTIONS }  from '../../src'
  12 | import { ExternalRendererIntegrationModule } from '../src'

Check failure on line 14 in packages/nestjs-external-renderer/integration/test/render.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.

Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
Raw output
  12 | import { ExternalRendererIntegrationModule } from '../src'
  13 |
> 14 | describe('external renderer', () => {
     | ^
  15 |   let app: INestApplication
  16 |   let url: string
  17 |

Check failure on line 18 in packages/nestjs-external-renderer/integration/test/render.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'beforeAll'.

Cannot find name 'beforeAll'.
Raw output
  16 |   let url: string
  17 |
> 18 |   beforeAll(async () => {
     |   ^
  19 |     const port = await getPort()
  20 |
  21 |     const module = await Test.createTestingModule({

Check failure on line 38 in packages/nestjs-external-renderer/integration/test/render.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'afterAll'.

Cannot find name 'afterAll'.
Raw output
  36 |   })
  37 |
> 38 |   afterAll(async () => {
     |   ^
  39 |     await app.close()
  40 |   })
  41 |

Check failure on line 42 in packages/nestjs-external-renderer/integration/test/render.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.

Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
Raw output
  40 |   })
  41 |
> 42 |   it(`return content`, async () => {
     |   ^
  43 |     const response = await request(url).get('/exec/simple').expect(200)
  44 |
  45 |     expect(response.text).toBe('content')

Check failure on line 45 in packages/nestjs-external-renderer/integration/test/render.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'expect'.

Cannot find name 'expect'.
Raw output
  43 |     const response = await request(url).get('/exec/simple').expect(200)
  44 |
> 45 |     expect(response.text).toBe('content')
     |     ^
  46 |   })
  47 |
  48 |   it(`return param`, async () => {

Check failure on line 48 in packages/nestjs-external-renderer/integration/test/render.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.

Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
Raw output
  46 |   })
  47 |
> 48 |   it(`return param`, async () => {
     |   ^
  49 |     const response = await request(url).get('/exec/params').expect(200)
  50 |
  51 |     expect(response.text).toBe('value')

Check failure on line 51 in packages/nestjs-external-renderer/integration/test/render.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'expect'.

Cannot find name 'expect'.
Raw output
  49 |     const response = await request(url).get('/exec/params').expect(200)
  50 |
> 51 |     expect(response.text).toBe('value')
     |     ^
  52 |   })
  53 |
  54 |   it(`return param res`, async () => {

Check failure on line 54 in packages/nestjs-external-renderer/integration/test/render.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.

Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
Raw output
  52 |   })
  53 |
> 54 |   it(`return param res`, async () => {
     |   ^
  55 |     const response = await request(url).get('/exec/res-render-params').expect(200)
  56 |
  57 |     expect(response.text).toBe('value')

Check failure on line 57 in packages/nestjs-external-renderer/integration/test/render.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'expect'.

Cannot find name 'expect'.
Raw output
  55 |     const response = await request(url).get('/exec/res-render-params').expect(200)
  56 |
> 57 |     expect(response.text).toBe('value')
     |     ^
  58 |   })
  59 | })
  60 |

Check failure on line 10 in packages/nestjs-external-renderer/src/module/external-renderer.module.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.

Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
Raw output
   8 | import { ExternalRendererModule }           from './external-renderer.module'
   9 |
> 10 | describe('external-renderer', () => {
     | ^
  11 |   describe('module', () => {
  12 |     let module
  13 |

Check failure on line 11 in packages/nestjs-external-renderer/src/module/external-renderer.module.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.

Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
Raw output
   9 |
  10 | describe('external-renderer', () => {
> 11 |   describe('module', () => {
     |   ^
  12 |     let module
  13 |
  14 |     afterEach(async () => {

Check failure on line 12 in packages/nestjs-external-renderer/src/module/external-renderer.module.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Variable 'module' implicitly has type 'any' in some locations where its type cannot be determined.

Variable 'module' implicitly has type 'any' in some locations where its type cannot be determined.
Raw output
  10 | describe('external-renderer', () => {
  11 |   describe('module', () => {
> 12 |     let module
     |         ^
  13 |
  14 |     afterEach(async () => {
  15 |       await module.close()

Check failure on line 14 in packages/nestjs-external-renderer/src/module/external-renderer.module.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'afterEach'.

Cannot find name 'afterEach'.
Raw output
  12 |     let module
  13 |
> 14 |     afterEach(async () => {
     |     ^
  15 |       await module.close()
  16 |     })
  17 |

Check failure on line 15 in packages/nestjs-external-renderer/src/module/external-renderer.module.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Variable 'module' implicitly has an 'any' type.

Variable 'module' implicitly has an 'any' type.
Raw output
  13 |
  14 |     afterEach(async () => {
> 15 |       await module.close()
     |             ^
  16 |     })
  17 |
  18 |     it(`register`, async () => {

Check failure on line 18 in packages/nestjs-external-renderer/src/module/external-renderer.module.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.

Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
Raw output
  16 |     })
  17 |
> 18 |     it(`register`, async () => {
     |     ^
  19 |       module = await Test.createTestingModule({
  20 |         imports: [
  21 |           ExternalRendererModule.register({

Check failure on line 27 in packages/nestjs-external-renderer/src/module/external-renderer.module.test.ts

See this annotation in the file changed.

@github-actions github-actions / TypeCheck

Cannot find name 'expect'.

Cannot find name 'expect'.
Raw output
  25 |       }).compile()
  26 |
> 27 |       expect(module.get(EXTERNAL_RENDERER_MODULE_OPTIONS)).toBeDefined()
     |       ^
  28 |     })
  29 |
  30 |     it(`register async use factory`, async () => {