deepseek-ai/deepseek-harness · error · TypertEmitError
typert emitter(${this.face.face}): event ${event.name} is no
Error message
typert emitter(${this.face.face}): event ${event.name} is not a function type What it means
Error "typert emitter(${this.face.face}): event ${event.name} is not a function type" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/typert/generator/src/emitter.ts:144
: {}),
}
}
private runtimeModel(packageModel: PackageModel): RuntimePackageModel {
const services = packageModel.services.map((service): RuntimeServiceModel => {
const members = service.members.map(id => this.runtimeMember(this.renderer.member(id)))
return {
...documentationLiteral(service),
key: service.key,
exportName: service.export.name,
members,
types: this.runtimeTypes(this.renderer.declarationClosureForMembers(service.members), service.symbol),
}
})
const events = packageModel.events.map((event): RuntimeEventModel => {
const node = this.renderer.node(event.signature)
if (node.kind !== 'function') {
throw new TypertEmitError(`typert emitter(${this.face.face}): event ${event.name} is not a function type`)
}
return {
...documentationLiteral(event),
name: event.name,
...(event.mode === undefined ? {} : { mode: event.mode }),
signature: `${quote(event.name)}${this.renderer.renderSignature(node.signature)}`,
}
})
const objects = packageModel.objects.map((object): RuntimeObjectModel => {
const declaration = this.renderer.declaration(object.symbol)
return {
...documentationLiteral(object),
name: declaration.name,
exportName: object.export.name,
members: declaration.members.map(member => this.runtimeMember(member)),
types: this.runtimeTypes(this.renderer.declarationClosureForMembers(declaration.members.map(member => member.id)), declaration.id),
}
})View on GitHub (pinned to b150a551b8)
Solutions
- Declare the event with a function type signature as required by the emitter.
When it happens
Trigger: Thrown at packages/typert/generator/src/emitter.ts:144 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/9c3c5821880a2c1c.
Report an issue: GitHub.