My search service requires exporting the constant "default search query" to typescript for certain clients.
In my .cs DTO, I have this line of code:
public string DefaultQuery { get; set; } = "default query";
However, when I check my dto.ts file, it only shows the type definition:
public defaultQuery: string;
Is there a way to make the value appear instead of just the type?