#software-engineering
For example,
```ts
/**
* the reason why we need this function is that `db` has two type due to the fact that we are using two different db driver.
* most of the select statement they return same thing but they cause typescript to break.
* so we might need to use this function to force the type to be the same
*
* @remark we should only use this function in local development
*/
export const dangerous_forceTyped = (db: typeof dbProd | typeof dbLocal) => {
// ! we force the type to be the same
return db as typeof dbLocal;
};
```
I learn this in remix. This is a simple yet effective way to remind people. better than comment or jsdoc
Some good prefix
version: for example, `v3_singleFetch`
`unstable_`
`stable_`
`dangerous_`
`safe_`
`unsafe_`
`temporary_`