Skip to content

RView type seems to be not exported #339

@kstypik

Description

@kstypik

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions