Currently I am working on a MEAN app, where I aim to define the user "_id" in my model as per MongoDB/Mongoose standards.
I wish for properties like "id" to be as transparent as possible, however there seems to be an issue."
According to tslint, variable names should adhere to lowerCamelCase, PascalCase, or UPPER_CASE conventions.
This is what I have tried so far:
export class MyModel {
"_id": string;
etc: etc;
etc: etc;
}
Although it appears to work, I would prefer a more transparent solution.