The end of undefined docSync() / await doc() #1126
Annotations
10 errors and 1 warning
Run Tests
Type '"onUnavailable"' is not assignable to type 'Actions<DocHandleContext<T>, { type: "BEGIN"; } | { type: "REQUEST"; } | { type: "DOC_READY"; } | { type: "UNLOAD"; } | { type: "RELOAD"; } | { type: "DELETE"; } | { type: "TIMEOUT"; } | { ...; } | { ...; }, ... 6 more ..., EventObject> | undefined'.
|
Run Tests
Type '"onUnload"' is not assignable to type 'Actions<DocHandleContext<T>, { type: "BEGIN"; } | { type: "REQUEST"; } | { type: "DOC_READY"; } | { type: "UNLOAD"; } | { type: "RELOAD"; } | { type: "DELETE"; } | { type: "TIMEOUT"; } | { ...; } | { ...; }, ... 6 more ..., EventObject> | undefined'.
|
Run Tests
Argument of type 'string' is not assignable to parameter of type 'never'.
|
Run Tests
Argument of type 'string' is not assignable to parameter of type 'never'.
|
Run Tests
Argument of type 'Promise<DocHandle<TestDoc>>' is not assignable to parameter of type 'EventEmitter<string | symbol, any>'.
|
Run Tests
Property 'doc' does not exist on type 'Promise<DocHandle<TestDoc>>'.
|
Run Tests
Property 'change' does not exist on type 'Promise<DocHandle<TestDoc>>'.
|
Run Tests
Parameter 'd' implicitly has an 'any' type.
|
Run Tests
Type 'Promise<DocHandle<TestDoc>>' is missing the following properties from type 'EventEmitter<string | symbol, any>': eventNames, listeners, listenerCount, emit, and 6 more.
|
Run Tests
Type 'Promise<DocHandle<TestDoc>>' is missing the following properties from type 'EventEmitter<string | symbol, any>': eventNames, listeners, listenerCount, emit, and 6 more.
|
Run Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|