Luna
Luna
Can you provide an example? This should be working fine for files with periods in the file path. 🤔 As you can see even with periods in the path we...
Here is the script im currently using to remap the fields for axiom. ```ts const port = Number(process.env.PORT ?? '3000'); type Data = { data: { metrics: ( | {...
Currently the annoying hack i need to use is `JSON.parse(localStorage.getItem('a') || 'null');`
```js localStorage.setItem('a', null); const result = JSON.parse(localStorage.getItem('a')); console.log(result === null) // true ``` ```js localStorage.setItem('a', "null"); const result = JSON.parse(localStorage.getItem('a')); console.log(result === null) // true ```
> ts-reset smooths over these hard edges
@NoamAnisfeld that makes it less typesafe. Typesafety should reflect what actually happens.
it should never have been called text to begin with. it's a value.
BTW my issue isn't with comments missing overall its just some exist in the code and for some reason are being stripped out in the final type file where as...
Related I'm assuming https://github.com/microsoft/TypeScript/issues/14619
@sstur did you happen to find anything in regards to this?