I'm documenting this code:
/**
@param {string} x The only parameter of {@link foo}.
*/
export function foo(x) {}
It produces this warning:
warning: signature mismatch: foo src/file.js#1
0| /**
1| @param {string} x The only parameter of {@link foo}.
2| */
3| export function foo(x) {}
The documentation looks like:
import {foo} from './src/file.js'
Params:
Name Type Attribute Description
. string
The name of the parameter has become . rather than x.
The error is fixed by replacing {@link foo} with foo.
I'm documenting this code:
It produces this warning:
The documentation looks like:
The name of the parameter has become
.rather thanx.The error is fixed by replacing
{@link foo}withfoo.