Add parsing support to vercte/dictionaries.js for convenience #5876
Annotations
1 warning
|
Generate type warnings:
extensions/vercte/dictionaries.js#L418
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 | "---"'.
|
Loading