class-transformer icon indicating copy to clipboard operation
class-transformer copied to clipboard

fix: Nested array not working correctly

Open mikenlanggio opened this issue 3 years ago • 0 comments

Description

@Type not working correctly while using a nested array


class A{

}

class B{
    @Type(() => A)
    arrayOfArrayOfA : A[][]
}

Expected behavior

The arrayOfArrayOfA should return a type of A

Actual behavior

But it just returns a normal object

mikenlanggio avatar Jun 27 '22 11:06 mikenlanggio