Merge pull request #34 from PedroCavalheiro/patch-2 #9
Annotations
6 errors
Run npm run build:
__test__/math.test.ts#L11
Could not find a declaration file for module 'supertest'. '/home/runner/work/simple-math-api-exercise/simple-math-api-exercise/node_modules/supertest/index.js' implicitly has an 'any' type.
|
Run npm run build:
index.ts#L10
This expression is not callable.
|
Run npm run build:
index.ts#L37
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ sum: (a: number, b: number) => number; div: (a: number, b: number) => number; subtract: (a: number, b: number) => number; multiply: (a: number, b: number) => number; power: (a: number, b: number) => number; }'.
|
Run npm run build:
index.ts#L53
Parameter '_req' implicitly has an 'any' type.
|
Run npm run build:
index.ts#L53
Parameter 'res' implicitly has an 'any' type.
|
Run npm run build
Process completed with exit code 2.
|
Loading