ReiR
Windmill3y ago
9 replies
Rei

Bun - not working typescript intellisense on imported npm modules

Hi, when I'm using Bun as a runtime I don't get any typescript info when I'm importing non-standard npm modules, like here:

import { thingThatDoesntExist } from "zod";


export async function main(

) {
  thingThatDoesntExist("mario");
}


This example doesn't error in editor on app.windmill.dev when using Bun, but it shows an error when using Deno.

Is it a bug or just Bun limitation?
image.png
Was this page helpful?