[typescript] How to use `@ts-ignore` for a block