Page Contents

Home > @loopback/repository > InvalidPolymorphismError > (constructor)

InvalidPolymorphismError.(constructor)

Constructs a new instance of the InvalidPolymorphismError class

Signature:

constructor(typeName: string, discriminator?: string, extraProperties?: Props);

Parameters

Parameter Type Description
typeName string  
discriminator string (Optional)
extraProperties Props (Optional)