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

Expose RendererPlugin interface as exported typescript types #3234

Open
eonarheim opened this issue Oct 2, 2024 Discussed in #3233 · 2 comments
Open

Expose RendererPlugin interface as exported typescript types #3234

eonarheim opened this issue Oct 2, 2024 Discussed in #3233 · 2 comments

Comments

@eonarheim
Copy link
Member

Discussed in #3233

Originally posted by mccolljr October 1, 2024
I wanted to play around with a custom renderer plugin, but I'm noticing that the RendererPlugin type isn't exported. TypeScript complains that the type is unexported, and some digging indicates that it is exported from renderer.d.ts but not from the Context index.d.ts. Is this intentional or just an oversight?

@Autsider666
Copy link
Contributor

Autsider666 commented Oct 4, 2024

What would be the requirements for an interface (or type/class) to be exposed (or not) in general?

@eonarheim
Copy link
Member Author

We'll need the interface exported through the graphics index.ts, I think the root index.ts is already exporting all the graphics types.

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