WindmillWWindmill
Powered by
ReiR
Windmill•3y 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");
}
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
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Private NPM registries not working
VentaVVenta / help
11mo ago
intellisense
AlexandreAAlexandre / help
11mo ago
Typescript types for npm packages
bnasonBbnason / help
19h ago
[Typescript BUN]: Listing all objects within S3 Bucket
ChesongCChesong / help
7mo ago