Robert Macfie

Results 6 comments of Robert Macfie

I think the only thing needed to get the `@solidjs/start/env` types working is to include `./env.d.ts` in the `exports` property of `package.json`. The schema documentation for package.json says: > The...

> @rmacfie I did a couple of tests to figure it out and I did not test the specific suggestion. Did you test this? Yes, I modified `node_modules/@solidjs/start/package.json` to include...

> @rmacfie can you share the test setup, i tried making the stated modifications but it does not work for me. I made a proof of concept of changes in...

> I think I got to the bottom of the behaviour, it is described [here ambient vs augmented modules](https://www.typescriptlang.org/docs/handbook/modules/reference.html#ambient-modules). Just adding an export {} is fixing the issue but seems...

I have the same problem with `9.0.100-rc.2.24474.11` and a Razor Pages project. The `ETag` header also appears twice, with different values. ```csharp app.MapStaticAssets(); app.MapRazorPages().WithStaticAssets(); ``` ```html ``` ![Image](https://github.com/user-attachments/assets/209fece8-7e23-4fa9-b8a8-41cee9ddace1)

> [@rmacfie](https://github.com/rmacfie) the ETag values look correct. One is a strong ETag, the other is a weak ETag. I see, thanks. I didn't know about weak/strong ETags.