ts-check-jsdoc-experiment

Community

Experiment TypeScript in plain JS with @ts-check

Authorluyi985
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This approach lets you add TypeScript-style static typing to JavaScript files without a full conversion, helping you catch type errors earlier and ease migration.

Core Features & Use Cases

  • Add @ts-check at the top of a JS file to enable type checking in editors and during builds.
  • Use JSDoc annotations to describe types, interfaces, and typedefs across modules.
  • Facilitate gradual migration by incrementally introducing types while preserving existing JS code.

Quick Start

Add // @ts-check at the top of a JavaScript file and begin annotating with JSDoc types.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ts-check-jsdoc-experiment
Download link: https://github.com/luyi985/lyi-bash/archive/main.zip#ts-check-jsdoc-experiment

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.