From fa5b742b7d49391c70747cd71a6508cf4fc9160c Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Mon, 8 Jul 2024 23:02:25 +0900 Subject: [PATCH] fix(helper/conninfo): add `undefined` for `AddressType` (#3112) --- src/helper/conninfo/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper/conninfo/types.ts b/src/helper/conninfo/types.ts index 3f73efa2..e37a3741 100644 --- a/src/helper/conninfo/types.ts +++ b/src/helper/conninfo/types.ts @@ -1,6 +1,6 @@ import type { Context } from '../../context' -export type AddressType = 'IPv6' | 'IPv4' +export type AddressType = 'IPv6' | 'IPv4' | undefined export type NetAddrInfo = { /**