Skip to content

Add parsing support to vercte/dictionaries.js for convenience #5875

Add parsing support to vercte/dictionaries.js for convenience

Add parsing support to vercte/dictionaries.js for convenience #5875

Triggered via pull request November 28, 2025 08:33
Status Failure
Total duration 23s
Artifacts

validate.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
format
Process completed with exit code 1.
lint
Process completed with exit code 1.
lint: extensions/vercte/dictionaries.js#L7
Do not call Scratch.translate.setup() yourself. Just use Scratch.translate() and let the build script handle it
lint: extensions/vercte/dictionaries.js#L7
All extension code must be within (function (Scratch) { ... })(Scratch);
format: extensions/vercte/dictionaries.js#L1
File was not formatted with prettier. Usually, commenting !format will fix this.
Type warning - may indicate a bug - ignore if no bug: extensions/vercte/dictionaries.js#L369
Argument of type 'DictionaryExtension' is not assignable to parameter of type 'Extension'. The types of 'getInfo().blocks' are incompatible between these types. Type '(string | { opcode: string; blockType: "reporter"; text: string; hideFromPalette?: undefined; arguments?: undefined; } | { opcode: string; blockType: "reporter"; hideFromPalette: boolean; text: string; arguments: { ...; }; } | ... 7 more ... | { ...; })[]' is not assignable to type '(Block | "---")[]'. Type 'string | { opcode: string; blockType: "reporter"; text: string; hideFromPalette?: undefined; arguments?: undefined; } | { opcode: string; blockType: "reporter"; hideFromPalette: boolean; text: string; arguments: { ...; }; } | ... 7 more ... | { ...; }' is not assignable to type 'Block | "---"'. Type 'string' is not assignable to type 'Block | "---"'.