Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Experimental JSDoc plugin to generate TypeScript definition files (.d.ts) from JSDoc-annotated source

Notifications You must be signed in to change notification settings

jumpinjackie/jsdoc-typescript-plugin

Repository files navigation

No longer maintained

When I started this project, I had the lofty goal of a generic d.ts typings generator that works off of JSDoc annotations for any plain JS project.

In reality, this project had a singular purpose: To generate a 100% coverage TypeScript definition file for the OpenLayers library. This project had fulfilled this singular purpose very well up to the latest 4.x release (4.6.5).

OpenLayers afterwards had changed their module structure to the point that this plugin no longer was able to generate a suitable TypeScript definition. Given there are competing efforts that have made better inroads than I have in this regard, I am no longer maintaining this project and have archived this repository.

If you are after TypeScript support for OpenLayers 5.x and newer, see:

Otherwise, feel free to fork this repo and see what you can do with the code. Good luck!

jsdoc-typescript-plugin

Build Status

JSDoc plugin to automatically generate TypeScript Definitions from annotated source

Building

npm install
npm run-script tsc

The compiled plugin will reside under plugins/typescript.js

Using the plugin

Add the following snippet to your JSDoc configuration

{ "plugins": [ "plugins/typescript" ] }

Refer to configuration for plugin configuration options

Configuration

TBD

About

Experimental JSDoc plugin to generate TypeScript definition files (.d.ts) from JSDoc-annotated source

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published