picostyle icon indicating copy to clipboard operation
picostyle copied to clipboard

Error Expected 1 arguments, but got 2. when using css in picostyle

Open fawwaz opened this issue 5 years ago • 1 comments

I follow the guides (and also inspect the source code) assuming you only want to use css function, then you should pass a second parameter of picostyle with an option. However, what I see in the picostyle.d.ts the default function definition only take 1 argument.

fawwaz avatar Sep 12 '19 01:09 fawwaz

I'm working on fixing the type definitions and the readme. The current 2nd parameter is expecting an options object.

B-Teague avatar Feb 15 '20 02:02 B-Teague