Skip to content

Typescript Example? #112

@ca0v

Description

@ca0v

It would be nice to see an example which uses typescript. Can the openlayers typings be generated from the source? I do not see it published anywhere. On the other hand, it seems the source is already typescript compatible so maybe we can just import the source without the typings? Some guidance in the form of a workshop would be helpful. I will say that the only issue I see with treating ol as typescript is in the pbf.js and ieee754.js commonjs modules, which are easily ported to javascript modules. Perhaps the authors of ieee754.js could be nudged to produce and es module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions