Skip to content

NodeBase.toString()'s types don't include a parameter #1313

@nex3

Description

@nex3

According to the API docs, the Node.toString() function takes a parameter of type stringifier | syntax. However, this isn't reflected in the TypeScript interface:

postcss/lib/postcss.d.ts

Lines 603 to 606 in 4d8a985

/**
* @returns A CSS string representing the node.
*/
toString(): string;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions