Skip to content

TypeScript (Help Wanted) #8120

@tschaub

Description

@tschaub

I'd like to see if we can publish TypeScript definitions for the 5.0 release. My understanding is that these can be published as @types/ol or in the ol package itself. I assume we'll need more than a single index.d.ts since we do not make everything exportable from a single module. I'm hoping we can automatically generate the TypeScript definitions from existing JSDoc annotations in the code. Perhaps this will be a migration path away from JSDoc annotations to authoring in TypeScript, but initially I think our goal should be to publish TypeScript definitions that are in sync with the code.

I'll be doing some more reading, but if anybody has experience and knowledge that they can spread, please let us know.

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