mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-10-25 11:06:45 -05:00
chore: bump deps, cleanup deprecation warnings
This commit is contained in:
@@ -96,6 +96,7 @@ export default class EventSource {
|
||||
}
|
||||
|
||||
addEventListener<T extends string>(event: T, handler: Listener<T>[1]) {
|
||||
// @ts-expect-error TODO: this worked pre-dep bump but i have no idea what broke it - i attempted to downgrade @types/node, undici and typescript to the pre-bump version but no luck?
|
||||
this._listeners.push([event, handler]);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,8 +42,8 @@ export function buildProxyAgent(options: ProxyAgentOptions & {
|
||||
const { origin, port, host } = proxy;
|
||||
|
||||
const { socket, statusCode } = await agent.connect({
|
||||
// @ts-expect-error
|
||||
origin,
|
||||
// @ts-expect-error
|
||||
port,
|
||||
path: requestedHost,
|
||||
// @ts-expect-error
|
||||
|
||||
Reference in New Issue
Block a user