swc/crates/swc_ecma_parser/tests/tsc/ts-ignore.ts

16 lines
355 B
TypeScript
Raw Normal View History

// @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';