src/types.ts

emend · src/types.ts · typescript · MIT
payments

Defines core domain types for representing API surfaces and symbols.

// Source: https://github.com/diyanbogdanov/emend | License: MIT | Copyright 2026 Diyan Bogdanov
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Core domain types for Emend.
 *
 * These are deliberately plain data — every module in the pipeline consumes and
 * produces values of these shapes, which is what lets each stage be tested in
 * isolation without standing up the stage before it.
 */

import type { PinConflict, VersionPin } from './pins.ts';

export type { PinConflict, VersionPin } from './pins.ts';

export type SymbolKind =
  | 'class'
  | 'interface'
  | 'function'
  | 'method'
  | 'property'
  | 'type'
  | 'enum'
  | 'variable'
  | 'unknown';

/**
 * One of a declaration's type parameters, and whether a caller may omit it.
 *
 * Recorded because the signa

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key