noimplicitany-completion

Enable noImplicitAny in TypeScript projects to enforce explicit typing.

Updated Jul 17, 2017
One-click install
npx skills add https://github.com/luyi985/lyi-bash --skill noimplicitany-completion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: noimplicitany-completion
Source: https://github.com/luyi985/lyi-bash/tree/main/ai/skills/noimplicitany-completion
Command: npx skills add https://github.com/luyi985/lyi-bash --skill noimplicitany-completion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures TS migration safety by turning on noImplicitAny to prevent implicit anys and force explicit types, guarding against type leaks as you migrate.

Core Features & Use Cases

  • Enforces explicit typing across the codebase by enabling noImplicitAny
  • Supports TS migrations, strict mode enabling, and final tsconfig refinement
  • Improves overall type safety and maintainability during adoption

Quick Start

Enable noImplicitAny in your TypeScript configuration and start replacing implicit anys with explicit types.

Frequently Asked Questions about noimplicitany-completion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What does enabling noImplicitAny do in a TypeScript migration?

Enabling noImplicitAny prevents implicit anys and forces explicit types, guarding against type leaks during TypeScript migration. It ensures type-safe code across large codebases by requiring developers to define types explicitly rather than relying on inferred any.

How do I enforce explicit typing across my codebase with tsconfig?

To enforce explicit typing with tsconfig, set noImplicitAny to true in your tsconfig.json. This configuration prevents implicit anys and forces explicit type annotations, improving overall type safety and maintainability during strict mode adoption.

Can I use incremental migration workflows when enabling noImplicitAny?

Yes, enabling noImplicitAny supports incremental migration workflows. You can progressively replace implicit anys with explicit types across large codebases, allowing phased strict mode adoption without needing to fix all type errors simultaneously.

When should I turn on noImplicitAny during strict mode adoption?

Turn on noImplicitAny during TypeScript migrations, strict mode enabling, or tsconfig finalization to ensure type-safe code. It prevents type leaks and improves maintainability as you migrate large codebases to strict typing standards.

What do I need to configure before enforcing noImplicitAny?

You need a tsconfig.json configured with noImplicitAny set to true. This configuration serves as the prerequisite for the Skill to automate enforcement of explicit typing and prevent implicit anys across your TypeScript project.

Why does enabling noImplicitAny improve type safety in TypeScript?

Enabling noImplicitAny improves type safety by preventing type leaks and forcing explicit types. It guards against untyped code during migrations, ensuring maintainable and type-safe codebases by eliminating implicit any values.