-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Description
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.