Saturday, September 16, 2023

Svelte.js: TypeScript => JSDoc

recent: some widely adopted packages go completely Type free or remove TypeScript in favor of JS with type annotations; a great discussion with creator of Svelte

 Type War (what is it good for?) (JS Party #292) |> Changelog podcast


jsdoc/jsdoc: An API documentation generator for JavaScript.

An API documentation generator for JavaScript.

JSDoc 3 is an API documentation generator for JavaScript, similar to Javadoc or phpDocumentor. You add documentation comments directly to your source code, right alongside the code itself. The JSDoc tool will scan your source code and generate an HTML documentation website for you.

/**
 * Represents a book.
 * @constructor
 * @param {string} title - The title of the book.
 * @param {string} author - The author of the book.
 */
function Book(title, author) {
}


No comments: