swc/crates/swc_ecma_parser/tests/tsc/ts-ignore.ts
2022-02-04 17:08:38 +09:00

16 lines
355 B
TypeScript

// @ts-ignore with additional commenting
var invalidCommentedFancy: number = 'nope';
// @ts-ignore with additional commenting
var validCommentedFancy: string = 'nope';
// @ts-ignore
var invalidCommentedPlain: number = 'nope';
// @ts-ignore
var validCommentedPlain: string = 'nope';
var invalidPlain: number = 'nope';
var validPlain: string = 'nope';