-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Open
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generation
Milestone
Description
Bug Report
🔎 Search Terms error duplicate message js
🕗 Version & Regression Information 4.3.0-dev.20210422
💻 Code
OK:
// Unfinished expression
const a = b =>Add jsdoc comment above const a
/** @typedef {number} A */
const a = b =>and see that the error is duplicated
Two more comments below const a
/** @typedef {number} A */
const a = b =>
/** @typedef {number} B */
/** @typedef {number} C */and see two more error duplicates
Add some declaration between const a and jsdoc comments
/** @typedef {number} A */
const a = b =>
const c = 10
/** @typedef {number} B */
/** @typedef {number} C */and see that each of two errors are duplicated
🙁 Actual behavior
Error duplicates
🙂 Expected behavior
No error duplicates
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generation



