V11 Data Models #5755
checks.yml
on: pull_request
type check code base
22s
lint code base
27s
test code base
25s
Annotations
20 errors and 3 warnings
type check code base:
src/foundry/client/apps/forms/actor.d.mts#L128
Namespace '"/home/runner/work/foundry-vtt-types/foundry-vtt-types/src/foundry/common/data/module"' has no exported member 'ItemData'.
|
type check code base:
src/foundry/client/apps/forms/actor.d.mts#L128
Namespace '"/home/runner/work/foundry-vtt-types/foundry-vtt-types/src/foundry/common/data/module"' has no exported member 'ItemData'.
|
type check code base:
src/foundry/client/apps/forms/actor.d.mts#L136
Namespace '"/home/runner/work/foundry-vtt-types/foundry-vtt-types/src/foundry/common/data/module"' has no exported member 'ItemData'.
|
type check code base:
src/foundry/client/apps/forms/actor.d.mts#L160
Namespace '"/home/runner/work/foundry-vtt-types/foundry-vtt-types/src/foundry/common/data/module"' has no exported member 'ActiveEffectData'.
|
type check code base:
src/foundry/client/apps/forms/actor.d.mts#L167
Type 'User | Actor | Adventure | Cards | JournalEntry | Macro | Playlist | RollTable | Scene | ActorDelta | ... 19 more ... | Item<...>' does not satisfy the constraint 'Document<any, any, null>'.
|
type check code base:
src/foundry/client/apps/forms/actor.d.mts#L179
Type 'typeof BaseToken' does not satisfy the constraint 'DocumentConstructor'.
|
type check code base:
src/foundry/client/apps/forms/combatant-config.d.mts#L9
Class static side 'typeof CombatantConfig' incorrectly extends base class static side 'typeof DocumentSheet'.
|
type check code base:
src/foundry/client/apps/forms/combatant-config.d.mts#L11
Type 'Combatant' does not satisfy the constraint 'Document<any, any, null>'.
|
type check code base:
src/foundry/client/apps/forms/combatant-config.d.mts#L11
Type 'typeof Combatant' does not satisfy the constraint 'DocumentConstructor'.
|
type check code base:
src/foundry/client/apps/forms/combatant-config.d.mts#L11
Type 'typeof Combatant' does not satisfy the constraint 'DocumentConstructor'.
|
tests/types/utils.test-d.ts:
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
|
tests/types/utils.test-d.ts:
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
|
tests/types/utils.test-d.ts:
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
|
tests/types/utils.test-d.ts:
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
|
tests/types/utils.test-d.ts:
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
|
tests/types/utils.test-d.ts:
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
|
tests/types/utils.test-d.ts:
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
|
tests/types/utils.test-d.ts:
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
|
tests/types/utils.test-d.ts:
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
|
tests/types/utils.test-d.ts:
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
|
type check code base
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/.
|
test code base
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/.
|
lint code base
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/.
|