V11 Data Models #5761
Annotations
10 errors and 1 warning
execute tests:
tests/types/utils.test-d.ts#L71
TypeCheckError: Type 'Promise<User>' does not satisfy the constraint '{ [x string] "Expected never, Actual unknown"; [x number] "Expected never, Actual unknown"; [toStringTag] "Expected string, Actual never"; }'.
Types of property '[toStringTag]' are incompatible.
Type 'string' is not assignable to type '"Expected string, Actual never"'.
❯ tests/types/utils.test-d.ts:71:56
|
execute tests:
tests/types/utils.test-d.ts#L79
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'.
❯ tests/types/utils.test-d.ts:79:55
|
execute tests:
tests/types/utils.test-d.ts#L80
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'.
❯ tests/types/utils.test-d.ts:80:55
|
execute tests:
tests/types/utils.test-d.ts#L81
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'.
❯ tests/types/utils.test-d.ts:81:60
|
execute tests:
tests/types/utils.test-d.ts#L82
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'.
❯ tests/types/utils.test-d.ts:82:60
|
execute tests:
tests/types/utils.test-d.ts#L83
TypeCheckError: Type 'User | Promise<User | undefined>' does not satisfy the constraint '{ [x string] "Expected never, Actual unknown"; [x number] "Expected never, Actual unknown"; [toStringTag] never; }'.
Property '[SymbolConstructor.toStringTag]' is missing in type 'User' but required in type '{ [x string] "Expected never, Actual unknown"; [x number] "Expected never, Actual unknown"; [toStringTag] never; }'.
❯ tests/types/utils.test-d.ts:83:48
|
execute tests:
tests/types/utils.test-d.ts#L91
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'.
❯ tests/types/utils.test-d.ts:91:50
|
execute tests:
tests/types/utils.test-d.ts#L92
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'.
❯ tests/types/utils.test-d.ts:92:50
|
execute tests:
tests/types/utils.test-d.ts#L93
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'.
❯ tests/types/utils.test-d.ts:93:55
|
execute tests:
tests/types/utils.test-d.ts#L94
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'.
❯ tests/types/utils.test-d.ts:94:55
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading