David Sherret

Results 775 comments of David Sherret

rusqlite currently being in the binary is an implementation detail. It currently being in the binary is not a reason to expose this as part of Deno's runtime API IMO...

It would also be nice if I could have a rust type that implements this trait and define properties that should be set on the error object. For example, in...

As a workaround, disabling the `no-slow-types` rule might fix the issue: ```jsonc // deno.jsonc { "lint": { "rules": { "exclude": ["no-slow-types"] } }, // ... } ``` Probably what's happening...

Not at the moment. We put it off because the use of cts files seems low at the moment (https://github.com/search?type=code&q=path%3A*.cts), but we'd like to do it soon.

I have a draft PR here: https://github.com/denoland/deno/pull/26558 ![image](https://github.com/user-attachments/assets/df90b0dd-b37b-406b-995d-f8d2fdcd5d5e)

@hourianto that one is expected. Prettier does the same thing: https://prettier.io/playground/#N4Igxg9gdgLgprEAuEAbOMAEAnOBnAB0wF5MBtARgF0AdKdLPGAQxgFc8TMo3VU66ASwBmmABQBBbNmYBPAHSC8UmbLG5CASk2ZgdTOSasOVLhoJ0AviAA0ICARiDoeZKGbSIAdwAKHhK4ozKhecq52AEYyYADWGADKzAC2cAAyglBwyMLBeHCR0XEw8QTMYBkA5sgw2Gz5IHlJgtm59XAAHgRw2IIpsMEAKt1QHoL4Lah5dniV6ACKbBDwE1MgAFZ47fGzcAtLWUg5k-UAjovwPtgOgSDMeAC0mXAAJi+2IDXMgqiVAMIQSSSzGQtz47xmUAq6AkMBqggibAu3XSmRW9QAFjAkqgAOrowTwQhlODxAIEwQANwJshBYDw4RAFLqAEkoK9YPEwD1HBI2fEYLJ0Gi7AQrnkcTICCDRfhuhSsnYMnlsDBLswKkDhSBSthlSCIswInBUO9RRkYDjBM8YOjkAAOAAMdlwZ0EuDVGuBh1adhYEUt1ttSAATHYOHABobAkdVnAkkbnq9nqlmJC2Oq4AAxCDYIGwyog5iIiAgSyWIA The reason is because if you add a statement before that line it could merge with that one causing...

Fixed in https://github.com/dprint/dprint-plugin-typescript/pull/648 via dprint-plugin-typescript upgrade in https://github.com/denoland/deno/pull/24819

This is essentially just https://github.com/denoland/deno/issues/20729

Yeah, as the warning states, sloppy imports aren't yet supported in `deno compile`. > that would take a tedious task to add .ts in almost every imports `deno lint --unstable-sloppy-imports...

Looks like a duplicate of https://github.com/denoland/deploy_feedback/issues/819