swc/crates/swc_ecma_parser/tests/tsc/jsdocParseBackquotedParamName.ts

21 lines
271 B
TypeScript

// @noEmit: true
// @allowJs: true
// @checkJs: true
// @strict: true
// @Filename: a.js
/**
* @param {string=} `args`
* @param `bwarg` {?number?}
*/
function f(args, bwarg) {
}
// @Filename: ts.ts
/**
* @param `arg` - this is fine
*/
function g(arg: string) {
}