Update jaydata.d.ts

The Entity is defined as class which is not easy to be extended with the missing functions. so change it to interface