Skip to content

Commit 20d8c2c

Browse files
committed
refactor(metadata-protocol): name the declaration-emit offset trap in protocol.ts's E0 note
Two more comment lines. They also move protocol.ts's byte offsets off the place where, after the merge of main, the emitter printed a class JSDoc inside getMetaTypes()'s inferred return type in the published index.d.ts. Claude-Session: https://claude.ai/code/session_01ADHkmR4MjTzeUv5x6tNkbk Co-authored-by: Claude <noreply@anthropic.com>
1 parent c40e9cc commit 20d8c2c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/metadata-protocol/src/protocol.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,8 @@ import { withNullMasterRowCounts } from './protocol-destructive-null-master.js';
458458
// [#25467 E0] The module preamble that stood here moved, verbatim, into the themed
459459
// `protocol-*.ts` modules below. What this file exported from it, it still exports;
460460
// the module order below is the order the rolled-up `.d.ts` keeps their declarations in.
461+
// A byte-offset shift in this file can surface a class comment inside an inferred type
462+
// of the published `.d.ts`: read its raw diff after any edit here.
461463
import {
462464
HAND_CRAFTED_SCHEMAS,
463465
TYPE_TO_FORM,

0 commit comments

Comments
 (0)