FlareUtils Types Bug

/// <reference types="@cloudflare/workers-types" /> and ^ this works
HIA
Hello, I’m Alastair!37d ago
Hey @bun, just saw your issue, and added a comment
B
bun37d ago
tsconfig.compilerOptions.types whats this exactly? it will inherit the owner's tsconfig ?
HIA
Hello, I’m Alastair!37d ago
It basically includes the types that workers-types exports in the project. What I can do instead is manually import types across the project, which should™️ fix the issue, while allowing me to still use experimental
B
bun37d ago
why would you want to use experimental though on a library?
HIA
Hello, I’m Alastair!37d ago
IIRC there are some types that are only in experimental? The idea is just though that the types, whether experimental or not, should not leak out into your project If I don't add it to types, then it shouldn't affect your project at all
B
bun37d ago
ok sure if that works, i'm not actually sure what is the right approach to this
HIA
Hello, I’m Alastair!37d ago
Unless the signatures of what my functions/classes require don't match what yours are But that is where I should push an update
B
bun37d ago
should i close the PR ? @HardlyWorkin'
HIA
Hello, I’m Alastair!36d ago
I'll keep it open as a reminder for myself/as a solution if what I'm thinking about doesn't work. Also, thanks for pointing this out! @bun, can you try with flareutils@0.6.2? Went with your way, because the other was too complex...
B
bun36d ago
I was using a fork with that patch for 2 days now its working fine
Want results from more Discord servers?
Add your server
More Posts
tunnel + http in local DNS (need to fix)I have the tunnel setted up for the subdomains. ex: ha.domain.com, nextcloud.domain.com But if i sWorkers Websocket Send Message on External EventHello! I'm looking for an elegant solution (if possible) to run a websocket and simultaneously allowFailed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrHI've see multiple `Failed: an internal error occurred` errors here, but non of them helped me track (Relatively) high latency compared to other servicesI noticed that Cloudflare Pages latency is (relatively) quite a bit high compared to Vercel and Netlabout turnstile pricing modelso how many website can I add using turnstile in my one cloudfalre account ? is it 10 only? I didn'cant access email sectionHi im trying to access the email section of a domain but i get the auth error code 1000. I understanFInd IP Address of website hosted on cloudflareDear Team, How do i find the ip address of my site hosted in cloudflare. I want to create subdomain is it possible to route a subdomain to a specific page on Pages?so https://t.domain.com will point to https://example.pages.dev/config.xml and not just https://exaSeeing the wrong country in cf-ipcountyI'm in the US but it's reporting DE for some reason?Using Cloudflare services like D1 without bindings in a workerI'm trying to dynamically create D1 databases and make them accessible through a worker. Still, eachAny recommendation for a good boilerplate for Workers project?I understand this is quite subjective, but there is a world between the `cloudflare-create` samples Hello guys, I have an issue with theHello guys, I have an issue with the Zaraz consent management which is loaded at first website load,Can I send something over UDP with Workers?Basically trying to port https://github.com/zegevlier/mcping over to Minecraft Bedrock which uses UDFree tier - Usage limits/going over them?I've looked around the website and couldn't find anything regarding what happens if you exceed usageSpecifying a `-- <command>` or `--proxy` is deprecated and will be removedRecently noticed this warning when running `wrangler pages dev -- vite`: ```[WARNING] Specifying a `How do I configure a Turbo project?Hi, I’m migrating from Vercel and I need to configure a Turbo project. How can I did this?SSL Nginx CF TunnelAnyone know how I can route my tunnel to a HTTPS server via Nginx Proxy Manager? If I tunnel to portWorker not finding module when "node:" prefix is usedI'm trying to import an npm module, but if I try to import it with the "node:" prefix as the docs sfetch for Anthropic Claude3 never returnsHello I trying to send a large prompt to Claude3, 66000 (characters) with the below code. After starCan't access RPC Service Bindings in local (next dev)i'm trying to access a Service binding (RPC) in my Next-on-Pages. My wrangler.toml looks like this: