diff --git a/construct_typed/generic_wrapper.py b/construct_typed/generic_wrapper.py index aa4af4c..99d8026 100644 --- a/construct_typed/generic_wrapper.py +++ b/construct_typed/generic_wrapper.py @@ -37,5 +37,11 @@ else: class Context: pass + class Array( + t.Generic[SubconParsedType, SubconBuildTypes, ParsedType, BuildTypes], + cs.Array, + ): + pass + ConstantOrContextLambda = t.Union[ValueType, t.Callable[[Context], t.Any]] PathType = str