TypeScript/tests/cases/conformance/jsdoc/jsdocParseBackquotedParamName.ts
Nathan Shively-Sanders ab8233c5d3
Two JSdoc parsing fixes (#22705)
* Correctly parse JSDoc type *=

* Allow `markdown` quoted param names in JSDoc

* Add tests and update baselines

* Get correct span for the type '*'

* Fix whitespace lint

* Add unbracketed type test
2018-03-20 09:23:08 -07:00

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) {
}