ts4023-effect-errors

Official

Fix TS4023 errors for Effect-based exports.

Authorforcedotcom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Fix TS4023 export errors when exporting function that returns Effect-based types. TypeScript reports error types in Effect's error channel not exported from the source, causing TS4023.

Core Features & Use Cases

  • Identify all TaggedError classes (including non-exported ones) that appear in Effect error channels.
  • Update source files to export non-exported error classes and re-export them from index.ts.
  • Validate changes by running TypeScript builds to ensure declarations are emitted correctly.
  • Use case: maintainers resolve TS4023 when publishing packages that expose Effect-based APIs.

Quick Start

Run the fix by locating all non-exported TaggedError classes used in Effect error channels, export them, re-export via index.ts, and verify with a TypeScript build.

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: ts4023-effect-errors
Download link: https://github.com/forcedotcom/salesforcedx-vscode/archive/main.zip#ts4023-effect-errors

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 223,000+ vetted skills library on demand.