MCPcopy Create free account
hub / github.com/Effect-TS/effect / stableApiId

Function stableApiId

packages/tools/api-diff/src/MigrationDoc.ts:22–22  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

20])
21
22const stableApiId = (id: string): string => id.replace(/#(?:type|value)$/, "")
23
24const displayApiId = (id: string): string => {
25 const separator = id.indexOf("#")

Callers 3

addedApiSignaturesFunction · 0.85
migrationEntriesFunction · 0.85
renderCompactEntryFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected