let\'s say I have this C# class
public class Product { public Guid Id { get; set; } public string ProductName { get; set; } public Decimal Price { g
Another alternative is using following NPM package:
guid-typescript which you can find here: https://www.npmjs.com/package/guid-typescript
Then it will be just like this:
import { Guid } from "guid-typescript"; export class Product { id: Guid; productName: string; price: number; level: number; }