feat: update common/data/data.mjs to 331 #6730
checks.yml
on: pull_request
type check code base
35s
lint code base
27s
test code base
34s
Annotations
20 errors
tests/types/configuredDocuments.test-d.ts:
tests/types/configuredDocuments.test-d.ts#L15
TypeCheckError: Type 'CustomItemClass' does not satisfy the constraint '{ [__DocumentBrand] never; create "Expected never, Actual function"; metadata { hasSystemData "Expected never, Actual boolean"; name "Expected never, Actual literal string AmbientLight" | ... 28 more ... | "Expected never, Actual literal string TableResult"; ... 11 more ...; pack never; }; ... 27 mor...'.
❯ tests/types/configuredDocuments.test-d.ts:15:55
|
tests/foundry/client/game.test-d.ts:
tests/foundry/client/game.test-d.ts#L34
TypeCheckError: Type 'Module' does not satisfy the constraint '{ [x string] never; [__PackageSchema] { [x string] { name string | undefined; label string; options any; required boolean; nullable boolean; initial any; readonly boolean; hint string; ... 8 more ...; toObject (value any) => any; }; [x number] { ...; }; }; }'.
Index signature for type 'string' is missing in type 'Module'.
❯ tests/foundry/client/game.test-d.ts:34:66
|
tests/foundry/client/head.test-d.ts:
tests/foundry/client/head.test-d.ts#L10
TypeCheckError: Type 'number | Color' does not satisfy the constraint '{ [iterator] "Expected never, Actual function"; toString "Expected function, Actual never"; toLocaleString { (locales? string | string[] | undefined, options? NumberFormatOptions | undefined) string; (locales? LocalesArgument, options? NumberFormatOptions | undefined) string; }; ... 32 more ...; applyRG...'.
Type 'number' is not assignable to type '{ [iterator] "Expected never, Actual function"; toString "Expected function, Actual never"; toLocaleString { (locales? string | string[] | undefined, options? NumberFormatOptions | undefined) string; (locales? LocalesArgument, options? NumberFormatOptions | undefined) string; }; ... 32 more ...; applyRG...'.
❯ tests/foundry/client/head.test-d.ts:10:37
|
tests/foundry/client/core/settings.test-d.ts:
tests/foundry/client/core/settings.test-d.ts#L71
TypeCheckError: Object literal may only specify known properties, and 'filePicker' does not exist in type 'RegisterOptions<string>'.
❯ tests/foundry/client/core/settings.test-d.ts:71:3
|
tests/foundry/client/core/settings.test-d.ts:
tests/foundry/client/core/settings.test-d.ts#L79
TypeCheckError: Type 'Promise<Actor>' does not satisfy the constraint '{ [toStringTag] string; then "Expected function, Actual function"; catch <TResult = never>(onrejected? ((reason any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<...>; finally "Expected function, Actual function"; }'.
Types of property 'then' are incompatible.
Type '<TResult1 = Actor, TResult2 = never>(onfulfilled? ((value Actor) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected? ((reason any) => TResult2 | PromiseLike<...>) | null | undefined) => Promise<...>' is not assignable to type '"Expected function, Actual function"'.
❯ tests/foundry/client/core/settings.test-d.ts:79:97
|
tests/foundry/client/core/settings.test-d.ts:
tests/foundry/client/core/settings.test-d.ts#L80
TypeCheckError: Type 'Actor' does not satisfy the constraint '{ [__DocumentBrand] never; create never; update "Expected function, Actual function"; delete "Expected function, Actual function"; [__Schema] never; [__ConcreteMetadata] never; ... 124 more ...; getDefaultArtwork never; }'.
Type 'Actor' is missing the following properties from type '{ [__DocumentBrand] never; create never; update "Expected function, Actual function"; delete "Expected function, Actual function"; [__Schema] never; [__ConcreteMetadata] never; ... 124 more ...; getDefaultArtwork never; }' [__DocumentBrand], create, metadata, prototype, and 30 more.
❯ tests/foundry/client/core/settings.test-d.ts:80:73
|
tests/foundry/client/core/settings.test-d.ts:
tests/foundry/client/core/settings.test-d.ts#L87
TypeCheckError: Type 'Promise<Actor>' does not satisfy the constraint '{ [toStringTag] string; then "Expected function, Actual function"; catch <TResult = never>(onrejected? ((reason any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<...>; finally "Expected function, Actual function"; }'.
Types of property 'then' are incompatible.
Type '<TResult1 = Actor, TResult2 = never>(onfulfilled? ((value Actor) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected? ((reason any) => TResult2 | PromiseLike<...>) | null | undefined) => Promise<...>' is not assignable to type '"Expected function, Actual function"'.
❯ tests/foundry/client/core/settings.test-d.ts:87:97
|
tests/foundry/client/core/settings.test-d.ts:
tests/foundry/client/core/settings.test-d.ts#L88
TypeCheckError: Type 'Actor' does not satisfy the constraint '{ [__DocumentBrand] never; create never; update "Expected function, Actual function"; delete "Expected function, Actual function"; [__Schema] never; [__ConcreteMetadata] never; ... 124 more ...; getDefaultArtwork never; }'.
Type 'Actor' is missing the following properties from type '{ [__DocumentBrand] never; create never; update "Expected function, Actual function"; delete "Expected function, Actual function"; [__Schema] never; [__ConcreteMetadata] never; ... 124 more ...; getDefaultArtwork never; }' [__DocumentBrand], create, metadata, prototype, and 30 more.
❯ tests/foundry/client/core/settings.test-d.ts:88:73
|
tests/foundry/client/core/time.test-d.ts:
tests/foundry/client/core/time.test-d.ts#L16
TypeCheckError: Type 'number' does not satisfy the constraint '"Expected number, Actual null"'.
❯ tests/foundry/client/core/time.test-d.ts:16:65
|
tests/foundry/client/pixi/board.test-d.ts:
tests/foundry/client/pixi/board.test-d.ts#L5
TypeCheckError: Type 'ConstructorOf<CanvasLayer>' does not satisfy the constraint 'typeof CanvasLayer'.
Type 'ConstructorOf<CanvasLayer>' is missing the following properties from type 'typeof CanvasLayer' layerOptions, instance, defaultSortableChildren, mixin, and 2 more.
❯ tests/foundry/client/pixi/board.test-d.ts:5:57
|
type check code base:
src/foundry/client-esm/audio/_module.d.mts#L7
File '/home/runner/work/foundry-vtt-types/foundry-vtt-types/src/foundry/client-esm/audio/_types.d.mts' is not a module.
|
type check code base:
src/foundry/client-esm/audio/_module.d.mts#L8
Cannot find module './cache.mjs' or its corresponding type declarations.
|
type check code base:
src/foundry/client-esm/audio/_module.d.mts#L9
Cannot find module './helper.mjs' or its corresponding type declarations.
|
type check code base:
src/foundry/client-esm/audio/_module.d.mts#L10
Cannot find module './timeout.mjs' or its corresponding type declarations.
|
type check code base:
src/foundry/client-esm/audio/_module.d.mts#L11
Cannot find module './sound.mjs' or its corresponding type declarations.
|
type check code base:
src/foundry/client-esm/audio/_module.d.mts#L12
Cannot find module './biquad.mjs' or its corresponding type declarations.
|
type check code base:
src/foundry/client-esm/audio/_module.d.mts#L13
Cannot find module './convolver.mjs' or its corresponding type declarations.
|
type check code base:
src/foundry/client-esm/canvas/regions/_module.d.mts#L7
Cannot find module './geometry.mjs' or its corresponding type declarations.
|
type check code base:
src/foundry/client-esm/canvas/regions/_module.d.mts#L8
Cannot find module './mesh.mjs' or its corresponding type declarations.
|
type check code base:
src/foundry/client-esm/canvas/regions/_module.d.mts#L9
Cannot find module './polygon-tree.mjs' or its corresponding type declarations.
|