PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Skill Details

Runtime
(gpt-5.5)
Example user message
[userMessage]: Start migrating my Express JavaScript API to TypeScript.
Example agent response
Project Detected: Node.js Express API using CommonJS modules and npm --- Migration Scope: - Added TypeScript support and migrated configuration, middleware, and one user service - Used an incremental migration with JavaScript compatibility enabled --- Changes Applied: - Added TypeScript compiler configuration - Added typecheck and build scripts - Converted config.js, requestLogger.js, and userService.js to TypeScript - Updated affected imports and exports --- Type Safety Improvements: - Added typed environment configuration - Added Express request and response types - Added User and UserServiceResult interfaces - Replaced unvalidated external values with unknown and type guards --- Files Modified: - tsconfig.json - package.json - src/config.ts - src/middleware/requestLogger.ts - src/services/userService.ts - src/types/user.ts --- Commands Executed: - npm install --save-dev typescript @types/node @types/express - npx tsc --noEmit - npm test --- Validation Result: Type checking and the existing test suite passed for the migrated scope. Remaining JavaScript files continue to work through allowJs. --- Remaining Work: - Routes, controllers, remaining services, and JavaScript tests have not yet been migrated --- How to Continue: Migrate one route and its controller together, then rerun npx tsc --noEmit and npm test before selecting the next feature.
🦞 OpenClaw Skill

Migrate Javascript To Typescript

Add to Cart
PromptBase Select
Or get it with Select10 Select prompts/mo — under $2 each
Learn more
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this skill, you agree to our terms of service
GPT-5.5
Tested icon
Guide icon
Free credits icon
Automatically migrate JavaScript projects to TypeScript without rewriting everything at once. This skill detects your stack, creates TypeScript configuration, converts files incrementally, adds accurate types, fixes compiler errors, and validates the migration. ✔ Incremental JS-to-TS migration ✔ React, Node.js, Express, and Next.js ✔ Type-safe configs and interfaces ✔ Tests, builds, and type checks Perfect for modernizing existing JavaScript codebases safely.
...more
Added 1 week ago
Report
Browse Marketplace