|
1 | 1 | Exit Code: 2
|
2 | 2 | Standard output:
|
| 3 | +../../../../../built/local/lib.dom.d.ts(618,5): error TS2687: All declarations of 'url' must have identical modifiers. |
| 4 | +node_modules/@types/node/globals.d.ts(163,5): error TS2687: All declarations of 'url' must have identical modifiers. |
3 | 5 | node_modules/connect-mongo/src/types.d.ts(113,66): error TS2694: Namespace 'Express' has no exported member 'SessionData'.
|
4 | 6 | node_modules/connect-mongo/src/types.d.ts(114,45): error TS2694: Namespace 'Express' has no exported member 'SessionData'.
|
5 | 7 | node_modules/connect-mongo/src/types.d.ts(118,47): error TS2694: Namespace 'Express' has no exported member 'SessionData'.
|
6 |
| -src/app.ts(72,21): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'. |
7 |
| - Property 'returnTo' does not exist on type 'Session'. |
8 |
| -src/app.ts(75,21): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'. |
9 |
| - Property 'returnTo' does not exist on type 'Session'. |
10 |
| -src/app.ts(116,30): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'. |
11 |
| - Property 'returnTo' does not exist on type 'Session'. |
12 |
| -src/controllers/user.ts(51,38): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'. |
13 |
| - Property 'returnTo' does not exist on type 'Session'. |
| 8 | +src/app.ts(31,10): error TS2540: Cannot assign to 'Promise' because it is a read-only property. |
| 9 | +src/app.ts(72,21): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial<SessionData>'. |
| 10 | +src/app.ts(75,21): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial<SessionData>'. |
| 11 | +src/app.ts(116,30): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial<SessionData>'. |
| 12 | +src/config/passport.ts(14,5): error TS2349: This expression is not callable. |
| 13 | + Type 'User' has no call signatures. |
| 14 | +src/config/passport.ts(18,24): error TS7006: Parameter 'err' implicitly has an 'any' type. |
| 15 | +src/config/passport.ts(18,29): error TS7006: Parameter 'user' implicitly has an 'any' type. |
| 16 | +src/config/passport.ts(28,51): error TS7006: Parameter 'err' implicitly has an 'any' type. |
| 17 | +src/config/passport.ts(71,49): error TS7006: Parameter 'err' implicitly has an 'any' type. |
| 18 | +src/config/passport.ts(71,54): error TS7006: Parameter 'existingUser' implicitly has an 'any' type. |
| 19 | +src/config/passport.ts(77,45): error TS7006: Parameter 'err' implicitly has an 'any' type. |
| 20 | +src/config/passport.ts(92,49): error TS7006: Parameter 'err' implicitly has an 'any' type. |
| 21 | +src/config/passport.ts(92,54): error TS7006: Parameter 'existingUser' implicitly has an 'any' type. |
| 22 | +src/config/passport.ts(97,59): error TS7006: Parameter 'err' implicitly has an 'any' type. |
| 23 | +src/config/passport.ts(97,64): error TS7006: Parameter 'existingEmailUser' implicitly has an 'any' type. |
| 24 | +src/controllers/user.ts(51,38): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial<SessionData>'. |
| 25 | +src/controllers/user.ts(101,46): error TS7006: Parameter 'err' implicitly has an 'any' type. |
| 26 | +src/controllers/user.ts(101,51): error TS7006: Parameter 'existingUser' implicitly has an 'any' type. |
| 27 | +src/controllers/user.ts(146,29): error TS7006: Parameter 'err' implicitly has an 'any' type. |
| 28 | +src/controllers/user.ts(153,19): error TS2769: No overload matches this call. |
| 29 | + Overload 1 of 3, '(options?: SaveOptions): Promise<UserDocument>', gave the following error. |
| 30 | + Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'. |
| 31 | + Overload 2 of 3, '(options?: SaveOptions, fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error. |
| 32 | + Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'. |
| 33 | + Overload 3 of 3, '(fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error. |
| 34 | + Argument of type '(err: WriteError) => void' is not assignable to parameter of type '(err: NativeError, doc: UserDocument) => void'. |
| 35 | + Types of parameters 'err' and 'err' are incompatible. |
| 36 | + Type 'NativeError' is missing the following properties from type 'WriteError': code, index, errmsg |
| 37 | +src/controllers/user.ts(183,29): error TS7006: Parameter 'err' implicitly has an 'any' type. |
| 38 | +src/controllers/user.ts(186,19): error TS2769: No overload matches this call. |
| 39 | + Overload 1 of 3, '(options?: SaveOptions): Promise<UserDocument>', gave the following error. |
| 40 | + Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'. |
| 41 | + Overload 2 of 3, '(options?: SaveOptions, fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error. |
| 42 | + Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'. |
| 43 | + Overload 3 of 3, '(fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error. |
| 44 | + Argument of type '(err: WriteError) => void' is not assignable to parameter of type '(err: NativeError, doc: UserDocument) => void'. |
| 45 | + Types of parameters 'err' and 'err' are incompatible. |
| 46 | + Type 'NativeError' is not assignable to type 'WriteError'. |
| 47 | +src/controllers/user.ts(215,29): error TS7006: Parameter 'err' implicitly has an 'any' type. |
| 48 | +src/controllers/user.ts(349,54): error TS7006: Parameter 'err' implicitly has an 'any' type. |
14 | 49 |
|
15 | 50 |
|
16 | 51 |
|
|
0 commit comments