Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Incorrect handling of default values #12

@Dante-101

Description

@Dante-101

The plugin incorrectly identifies the arguments of the function if an argument is taking a default value with a comma.

For instance, for separator: string = ',' it ends up detecting single quote ' as an argument.

/**
 * @param  {string} csvHeader
 * @param  {object[]} objs
 * @param  {string='} separator
 * @param  {} '
 * @returns string
 */
export function jsonArrToCsv(csvHeader: string, objs: object[], separator: string = ','): string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions