You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2023/01/30 16:15:47 UTC

[trafficcontrol-trafficops-types] 01/02: Fix inconsistent server interface typing

This is an automated email from the ASF dual-hosted git repository.

ocket8888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git

commit 60952f644b7933a1ce28447b7cd18c07d9809ae7
Author: ocket8888 <oc...@apache.org>
AuthorDate: Mon Jan 30 09:15:04 2023 -0700

    Fix inconsistent server interface typing
---
 src/server.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/server.ts b/src/server.ts
index f1ca9c1..28f5420 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -308,7 +308,7 @@ export interface RequestServer {
 	/** The Server's ILO interface's root user's name. */
 	iloUsername?: string | null;
 	/** The Server's network interfaces. */
-	interfaces: [Interface, ...Interface[]];
+	interfaces: Array<Interface>;
 	/** The IP address of the server's management interface. */
 	mgmtIpAddress?: string | null;
 	/** The IP address of the gateway to the Server's management interface. */
@@ -479,7 +479,7 @@ export interface ResponseServercheckExtension {
 export type ServercheckExtension = RequestServercheckExtension | ResponseServercheckExtension;
 
 /**
- * @deprecated This gives no useful information that an {@link Server} doesn't,
+ * @deprecated This gives no useful information that a {@link Server} doesn't,
  * so there's no reason to use it.
  */
 export interface ServerDetails  {