We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
how to support var fillColor : Null<Color|String>;?
from paper.js
path.fillColor=new Color(...);
or
path.fillColor="red"
The text was updated successfully, but these errors were encountered:
This should work, it should use ts.AnyOf2<>, what does the converted haxe code look like?
Sorry, something went wrong.
This is a problem with the types of paper.js,
Checking paper.d.ts in node_modules/paper after npm install paper:
npm install paper
/** * The fill color. */ fillColor: Color | null
Which is correctly translated to
/** The fill color. **/ var fillColor : Null<Color>;
No branches or pull requests
how to support var fillColor : Null<Color|String>;?
from paper.js
or
The text was updated successfully, but these errors were encountered: