From 1a0c8f57849de2dd2b6ea87b45833b3fd382ce66 Mon Sep 17 00:00:00 2001 From: Lyndon Maydwell Date: Tue, 21 Nov 2023 12:55:23 +1000 Subject: [PATCH] updating comments --- src/infer.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/infer.ts b/src/infer.ts index 4eea63b..c2db92e 100644 --- a/src/infer.ts +++ b/src/infer.ts @@ -242,10 +242,9 @@ function which_flags(flags_enum: Record, value: number) } type ObjectTypeInfo = { - // The name of the type (not including generic type parameters) + // The qualified name of the type type_name: string, - // Any type parameter types used with this type, useful for forming - // a closed generic name (eg IThing could become IThing_string_number) + // Parameter types used with this type in positional order generic_parameter_types: readonly ts.Type[] // The member properties of the object type. The types are // concrete types after type parameter resolution