how to make a require a constructor ts code example Example: ts create nex field var obj:any = {} obj.prop = 5;