Tag

JSDoc

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 17, 2023 · Fundamentals

Using JSDoc for Type Checking in JavaScript: Why Svelte Switched from TypeScript

This article explains how JSDoc can provide TypeScript‑like type checking, documentation generation, and d.ts emission for plain JavaScript, demonstrates the required tsconfig settings and code examples, and reveals that Svelte adopted JSDoc mainly to simplify debugging without a compilation step.

DTSJSDocJavaScript
0 likes · 7 min read
Using JSDoc for Type Checking in JavaScript: Why Svelte Switched from TypeScript
IT Services Circle
IT Services Circle
May 12, 2023 · Frontend Development

Svelte’s Migration from TypeScript to JSDoc and Insights from Deno’s TypeScript Shift

The article explains Svelte’s plan to replace TypeScript with JSDoc, confirms the move with Rich Harris’s tweet, outlines benefits for compiler debugging and type safety, and compares the decision to Deno’s earlier internal migration to JavaScript to cut build time and bundle size.

DenoJSDocSvelte
0 likes · 4 min read
Svelte’s Migration from TypeScript to JSDoc and Insights from Deno’s TypeScript Shift
IT Services Circle
IT Services Circle
Mar 18, 2023 · Frontend Development

New Features in TypeScript 5.0: Decorators, Const Type Parameters, Module Resolution, JSDoc Enhancements and Performance Improvements

TypeScript 5.0 introduces a host of enhancements—including a new decorator standard, const type parameters, expanded JSDoc support, multiple tsconfig extends, improved module resolution options, verbatim module syntax, and performance optimizations—along with detailed examples and guidance for developers.

Const TypesJSDocModule Resolution
0 likes · 26 min read
New Features in TypeScript 5.0: Decorators, Const Type Parameters, Module Resolution, JSDoc Enhancements and Performance Improvements
Laravel Tech Community
Laravel Tech Community
Apr 7, 2021 · Frontend Development

TypeScript 4.3 Beta Released: Auto‑Import, Enhanced Template Literal Types, @link Tag Support, and Static Index Signatures

The TypeScript 4.3 Beta introduces auto‑import completion for import statements, enhanced template literal type inference, editor support for @link tags, and static index signatures, providing developers with richer type checking and productivity improvements across frontend and Node.js projects.

BetaJSDocStatic Index Signatures
0 likes · 4 min read
TypeScript 4.3 Beta Released: Auto‑Import, Enhanced Template Literal Types, @link Tag Support, and Static Index Signatures