mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-10-26 16:55:08 +00:00
test(session-projection): type the async generator legacy yield
This commit is contained in:
1 parent
499c2e347f
commit
806ee572b2
1 file changed
+2
-1
@@ -205,7 +205,8 @@ describe('projection registration compatibility', () => {
|
||||
inject: ['sessionProjections'],
|
||||
apply(inner) {
|
||||
disposeEffect = inner.effect(async function* () {
|
||||
yield legacyRegistration(inner.sessionProjections.register(definition))
|
||||
// Compiled legacy callers see a disposer type; the async yield still assimilates its runtime then().
|
||||
yield legacyRegistration(inner.sessionProjections.register(definition)) as () => Promise<void>
|
||||
})
|
||||
},
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user