Skip to content

Custom JSDoc type cannot be extended #62021

Open
@almaceleste

Description

@almaceleste

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.99.3
  • OS Version: Linux x64 6.11.0-24-generic

Steps to Reproduce:

  1. Define a base JSDoc type:
/**
 * @typedef {object} baseType
 * @property {string} baseProperty
 */
  1. Define a child type and add a property:
/**
 * @typedef {baseType} childType
 * @property {string} childProperty
 */

Expected behavior: childType has baseProperty from baseType and childProperty from the own definition.

Actual behavior: childType has only baseProperty from baseType.

However, it works in WebStorm:

Metadata

Metadata

Assignees

Labels

Needs InvestigationThis issue needs a team member to investigate its status.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy