Create new package to monitor vite reloads #7
Annotations
11 errors and 1 warning
build (20.x):
src/__tests__/utils/test-utils.ts#L16
Type 'EventEmitter<DefaultEventMap>' is missing the following properties from type 'FSWatcher': options, ref, unref, add, and 3 more.
|
build (20.x):
src/__tests__/utils/test-utils.ts#L18
Type '(event: string, handler: (socket: unknown) => void) => void' is not assignable to type '{ (event: "connection", cb: (this: Server<WebSocket>, socket: WebSocket, request: IncomingMessage) => void): Server<WebSocket>; (event: "error", cb: (this: Server<...>, error: Error) => void): Server<...>; (event: "headers", cb: (this: Server<...>, headers: string[], request: IncomingMessage) => void): Server<...>; ...'.
|
build (20.x):
src/__tests__/utils/test-utils.ts#L23
Type 'Mock<[route: string, fn: HandleFunction], Server>' is not assignable to type '{ (fn: NextHandleFunction): Server; (fn: HandleFunction): Server; (route: string, fn: NextHandleFunction): Server; (route: string, fn: HandleFunction): Server; }'.
|
build (20.x):
src/index.ts#L139
Type '(this: void, { file, modules }: HmrContext) => null' is not assignable to type 'ObjectHook<(this: void, ctx: HmrContext) => void | ModuleNode[] | Promise<void | ModuleNode[]>> | undefined'.
|
build (20.x)
Process completed with exit code 2.
|
build (18.x)
The job was canceled because "_20_x" failed.
|
build (18.x):
src/__tests__/utils/test-utils.ts#L16
Type 'EventEmitter<DefaultEventMap>' is missing the following properties from type 'FSWatcher': options, ref, unref, add, and 3 more.
|
build (18.x):
src/__tests__/utils/test-utils.ts#L18
Type '(event: string, handler: (socket: unknown) => void) => void' is not assignable to type '{ (event: "connection", cb: (this: Server<WebSocket>, socket: WebSocket, request: IncomingMessage) => void): Server<WebSocket>; (event: "error", cb: (this: Server<...>, error: Error) => void): Server<...>; (event: "headers", cb: (this: Server<...>, headers: string[], request: IncomingMessage) => void): Server<...>; ...'.
|
build (18.x):
src/__tests__/utils/test-utils.ts#L23
Type 'Mock<[route: string, fn: HandleFunction], Server>' is not assignable to type '{ (fn: NextHandleFunction): Server; (fn: HandleFunction): Server; (route: string, fn: NextHandleFunction): Server; (route: string, fn: HandleFunction): Server; }'.
|
build (18.x):
src/index.ts#L139
Type '(this: void, { file, modules }: HmrContext) => null' is not assignable to type 'ObjectHook<(this: void, ctx: HmrContext) => void | ModuleNode[] | Promise<void | ModuleNode[]>> | undefined'.
|
build (18.x)
Process completed with exit code 2.
|
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|