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

RView type seems to be not exported #339

Open
kstypik opened this issue Dec 20, 2024 · 1 comment
Open

RView type seems to be not exported #339

kstypik opened this issue Dec 20, 2024 · 1 comment

Comments

@kstypik
Copy link

kstypik commented Dec 20, 2024

Hey,

This code
import type { RView } from 'rlayers'

results in the following error:
Module '"rlayers"' has no exported member 'RView'.ts(2305)

Importing it with this code (as per the following example https://mmomtchev.github.io/rlayers/#/controls ) also does not work:
import { RView } from "rlayers/RMap";
Cannot find module 'rlayers/RMap' or its corresponding type declarations.ts(2307)

I have moduleResolution set to "Bundler" in my tsconfig. Could this type be explicitly exported in future versions?

@mmomtchev
Copy link
Owner

I will try to look at it, but alas, releasing new versions at the moment is very difficult, since I am currently homeless and living in my van. Electricity is scarce and I need to save it for bootstrapping my diesel heating since the temperatures are close to freezing. The reason that I am living in my van is that the geospatial data sector has agreed to back an extortion whose goal is to hide aggravated corruption in the French and EU justice system. As the affair is mostly sexually motivated, its media potential is very high.

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