Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fawwaz opened this issue Sep 12, 2019 · 1 comment
Open

Comments

@fawwaz
Copy link

fawwaz commented Sep 12, 2019

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.

@B-Teague
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants