Skip to content

css function properties autocompletion not working #99

@agenordebriat

Description

@agenordebriat

Hey!

Just watched @Tahul's talk at Vuejs Amsterdam 2023, and noticed he could autocomplete every CSS property in the css function.
This is not working for me, and I suspect it's because the typing is wrong:

function css(declaration: CSSFunctionType<PinceauProps>): {
    declaration: any;
}

In the talk, when the cursor is hovering on the css function we can see that declaration should be typed as CSSFunctionType<PinceauProps>, and not any.

I followed the installation guide, and even noticed something else, see #98.

Would love for this last piece to work properly before I start using Pinceau in my projects.
I didn't know where to look at in the code to fix this, but I'd gladly be of some help if I can.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions