Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

332 B
Raw Blame
import { expectTypeOf, it } from 'vitest';
import type { GhostPipeDownloadProgress, GhostPipeEventPush } from '../ghost';

it('narrows download progress through the public host event union', () => {
  expectTypeOf<
    Extract<GhostPipeEventPush, { name: 'download-progress' }>
  >().toEqualTypeOf<GhostPipeDownloadProgress>();
});