matype/picostyle

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

fawwaz opened this issue · 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.

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