Add parsing support to vercte/dictionaries.js for convenience #5875
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 | "---"'.
|