If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: bun.sh/docs/typescript-6 - TypeScript 6 and 7 - Bun.

site address: bun.sh/docs/typescript-6 redirected to: bun.sh/docs/typescript-6

site title: TypeScript 6 and 7 - Bun

Our opinion (on Monday 13 July 2026 22:39:55 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=How to configure Bun s type definitions for TypeScript 6.0 and 7.0, which no longer auto-discover @types packages. Fix Cannot find name Bun and other missing type errors after upgrading TypeScript.;

Headings (most frequently used words):

typescript, this, to, tsconfig, system, and, documentation, index, on, page, what, changed, add, types, bun, your, full, recommended, json, does, apply, get, started, core, runtime, file, module, http, server, networking, data, storage, concurrency, process, interop, tooling, utilities, standards, compatibility, contributing,

Text of the page (most frequently used words):
bun (25), #typescript (18), types (18), the (9), true (9), tsconfig (9), and (8), json (7), this (6), you (6), compileroptions (6), page (5), add (5), your (5), packages (5), type (5), file (5), documentation (4), from (3), fix (3), false (3), bundler (3), jsx (3), module (3), full (3), recommended (3), definitions (3), use (3), other (3), changed (3), how (3), get (3), started (3), system (3), runtime (3), init (2), yes (2), same (2), default (2), upgrading (2), does (2), apply (2), mode (2), react (2), esnext (2), environment (2), here (2), for (2), need (2), tells (2), include (2), package (2), which (2), array (2), all (2), what (2), longer (2), globals (2), copy (2), auto (2), discover (2), contributing (2), node (2), compatibility (2), apis (2), toml (2), data (2), cookies (2), fetch (2), server (2), install (2), search (2), index (2), built, hosted, mintlify, developer, platform, powered, youtube, discord, github, next, previous, raise, issue, suggest, edits, was, helpful, carries, forward, directly, applies, nopropertyaccessfromindexsignature, nounusedparameters, nounusedlocals, some, stricter, flags, disabled, noimplicitoverride, nouncheckedindexedaccess, nofallthroughcasesinswitch, skiplibcheck, strict, best, practices, noemit, verbatimmodulesyntax, allowimportingtsextensions, moduleresolution, allowjs, force, moduledetection, preserve, target, lib, setup, latest, features, project, using, later, terminal, still, installed, option, but, itself, must, exist, node_modules, load, them, too, starting, field, defaults, empty, instead, including, now, explicitly, list, are, discovered, upgraded, editor, recognizes, request, configure, cannot, find, name, missing, errors, after, license, bindgen, building, windows, benchmarking, roadmap, web, standards, utils, color, semver, glob, hashing, image, htmlrewriter, jsonl, json5, markdown, yaml, console, secrets, csrf, protection, utilities, transpiler, compiler, ffi, api, interop, tooling, cron, webview, spawn, shell, variables, process, workers, concurrency, redis, sqlite, sql, archive, binary, streams, storage, dns, udp, tcp, websockets, networking, metrics, error, handling, tls, routing, http, router, plugins, resolution, bunfig, repl, debugging, watch, core, create, quickstart, installation, welcome, feedback, blog, reference, guides, test, runner, manager, navigation, home, skip, main, content, available, pages, before, exploring, further, complete, docs, llms, txt,


Text of the page (random words):
typescript 6 and 7 bun documentation index fetch the complete documentation index at docs llms txt use this file to discover all available pages before exploring further skip to main content bun home page search k install bun search navigation get started typescript 6 and 7 runtime package manager bundler test runner guides reference blog feedback get started welcome to bun installation quickstart typescript typescript 6 and 7 bun init bun create core runtime bun runtime watch mode debugging repl bunfig toml file module system file types module resolution jsx auto install plugins file system router http server server routing cookies tls error handling metrics networking fetch websockets tcp udp dns data storage cookies file i o streams binary data archive sql sqlite s3 redis concurrency workers process system environment variables shell spawn webview cron interop tooling node api ffi c compiler transpiler utilities csrf protection secrets console toml yaml markdown json5 jsonl htmlrewriter image hashing glob semver color utils standards compatibility globals bun apis web apis node js compatibility contributing roadmap benchmarking contributing building windows bindgen license on this page what changed add types bun to your tsconfig full recommended tsconfig json does this apply to typescript 7 get started typescript 6 and 7 copy page how to configure bun s type definitions for typescript 6 0 and 7 0 which no longer auto discover types packages fix cannot find name bun and other missing type errors after upgrading typescript copy page typescript 6 0 changed how type definitions are discovered if you ve upgraded typescript and your editor no longer recognizes bun request or other globals from types bun here s how to fix it what changed starting in typescript 6 0 the types field in compileroptions defaults to an empty array instead of including all types packages you now need to explicitly list the type packages you use add types bun to your tsconfig in your tsconfig json add types bun to compileroptions tsconfig json compileroptions types bun the types array tells typescript to load type definitions from types bun if you use other types packages include them too tsconfig json compileroptions types bun react you still need types bun installed the types option tells typescript which packages to include but the package itself must exist in node_modules terminal bun add d types bun full recommended tsconfig json here s the full recommended tsconfig json for a bun project using typescript 6 0 or later tsconfig json compileroptions environment setup latest features lib esnext target esnext module preserve moduledetection force jsx react jsx allowjs true types bun bundler mode moduleresolution bundler allowimportingtsextensions true verbatimmodulesyntax true noemit true best practices strict true skiplibcheck true nofallthroughcasesinswitch true nouncheckedindexedaccess true noimplicitoverride true some stricter flags disabled by default nounusedlocals false nounusedparameters false nopropertyaccessfromindexsignature false does this apply to typescript 7 yes typescript 7 carries forward the same default if you re upgrading directly from typescript 5 to 7 the same fix applies add types bun to your compileroptions was this page helpful yes no suggest edits raise issue typescript previous bun init next i x github discord youtube powered by this documentation is built and hosted on mintlify a developer documentation platform
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)
  • light logo
  • dark logo

Verified site has: 78 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
51-55 56-60 61-65 66-70 71-75 76-78


The site also has 1 references to other resources (not html/xhtml )

 bun.sh/docs/llms.txt  Verify


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 301 Moved Permanently
Date Mon, 13 Jul 2026 22:39:55 GMT
Content-Type text/html; charset=UTF-8
Transfer-Encoding chunked
Connection close
Server-Timing cfEdge;dur=17,cfOrigin;dur=0
Location htt????/bun.sh/docs/typescript-6
Report-To group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=1j2sQyXFZTI8IL8ErRZoL27NwEhEDOke%2B%2FI9NEVgwMrSzYfQo391ViMgXtPOYBZmKOEPVhL%2Fu0%2FIF7wvsC5H8nJU2NHX%2B%2BW8PHLbAoLuSM9L244gIo5Smg%3D%3D ]
Nel report_to : cf-nel , success_fraction :0.0, max_age :604800
Server cloudflare
CF-RAY a1abc95309019ff9-AMS
HTTP/2 200
date Mon, 13 Jul 2026 22:39:55 GMT
content-type text/html; charset=utf-8
age 6013
cache-control no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0
cf-cache-status DYNAMIC
x-version dpl_7SYKFAXf5VGRCXE8XQFQuhre7ePN
nel report_to : cf-nel , success_fraction :0.0, max_age :604800
content-security-policy worker-src * blob: data: unsafe-eval unsafe-inline ; object-src data: ; base-uri self ; upgrade-insecure-requests; frame-ancestors self htt????/dashboard.mintlify.com htt????/app.mintlify.com; form-action self htt????/codesandbox.io;
expires 0
link </docs/llms.txt>; rel= llms-txt , </docs/llms-full.txt>; rel= llms-full-txt , </docs/.well-known/api-catalog>; rel= api-catalog , </docs/.well-known/mcp/server-card.json>; rel= mcp-server-card , </docs/.well-known/agent-card.json>; rel= agent-card , </docs/.well-known/agent-skills/index.json>; rel= agent-skills
pragma no-cache
server cloudflare
strict-transport-security max-age=63072000
vary rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch, accept-encoding
x-frame-options DENY
x-llms-txt /docs/llms.txt
x-matched-path /_sites/[subdomain]/[[...slug]]
x-mint-proxy-version 1.0.0-prod
x-mintlify-client-version 0.0.3221
x-nextjs-prerender 1
x-nextjs-stale-time 60
x-served-version dpl_7SYKFAXf5VGRCXE8XQFQuhre7ePN
x-vercel-cache HIT
x-vercel-id cdg1:cdg1:cdg1:cdg1:cdg1::iad1::cttww-1783982395431-59e001154a0c
x-vercel-project-id prj_ekSYngkqMLMUb1wdarxNSixTj2nj
server-timing cfCacheStatus;desc= DYNAMIC
server-timing cfEdge;dur=9,cfOrigin;dur=105
report-to group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=SRFr4NRXJcR%2Fub3Bo7EpVBfsXuqkPooAETzGgt%2Fpqc0KD%2Fv0iciP%2B5FyL1Ha67Ph9%2Bfv%2F%2B1B3xoA2WF4TS9mm3bTt03FYfp4swGFILCsisf5UVVpYdj9Sg%3D%3D ]
content-encoding gzip
cf-ray a1abc9534927f6b5-CDG

Meta Tags

title="TypeScript 6 and 7 - Bun"
charset="utf-8"
name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"
name="description" content="How to configure Bun's type definitions for TypeScript 6.0 and 7.0, which no longer auto-discover @types packages. Fix 'Cannot find name Bun' and other missing type errors after upgrading TypeScript."
name="application-name" content="Bun"
name="generator" content="Mintlify"
name="msapplication-config" content="/docs/_mintlify/favicons/bun-1dd33a4e/EVjBxeJFWkPSAqAJ/_generated/favicon/browserconfig.xml"
name="apple-mobile-web-app-title" content="Bun"
name="msapplication-TileColor" content="#ff73a8"
property="og:title" content="TypeScript 6 and 7 - Bun"
property="og:description" content="How to configure Bun's type definitions for TypeScript 6.0 and 7.0, which no longer auto-discover @types packages. Fix 'Cannot find name Bun' and other missing type errors after upgrading TypeScript."
property="og:url" content="htt????/bun.com/docs/typescript-6"
property="og:site_name" content="Bun"
property="og:image" content="htt????/bun-1dd33a4e.mintlify.app/_next/image?url=%2F_mintlify%2Fapi%2Fog%3Fdivision%3DGet%2BStarted%26appearance%3Dsystem%26title%3DTypeScript%2B6%2Band%2B7%26description%3DHow%2Bto%2Bconfigure%2BBun%2527s%2Btype%2Bdefinitions%2Bfor%2BTypeScript%2B6.0%2Band%2B7.0%252C%2Bwhich%2Bno%2Blonger%2Bauto-discover%2B%2540types%2Bpackages.%2BFix%2B%2527Cannot%2Bfind%2Bname%2BBun%2527%2Band%2Bother%2Bmissing%2B%26logoLight%3Dhttps%253A%252F%252Fmintcdn.com%252Fbun-1dd33a4e%252FJUhaF6Mf68z_zHyy%252Flogo%252Flogo-with-wordmark-dark.svg%253Ffit%253Dmax%2526auto%253Dformat%2526n%253DJUhaF6Mf68z_zHyy%2526q%253D85%2526s%253D3f55cd23822028e40658b192c927f3e4%26logoDark%3Dhttps%253A%252F%252Fmintcdn.com%252Fbun-1dd33a4e%252FJUhaF6Mf68z_zHyy%252Flogo%252Flogo-with-wordmark-light.svg%253Ffit%253Dmax%2526auto%253Dformat%2526n%253DJUhaF6Mf68z_zHyy%2526q%253D85%2526s%253D8a0c5928d9dc3631f0d33e17c257e2ec%26primaryColor%3D%2523ff73a8%26lightColor%3D%2523ff73a8%26darkColor%3D%2523ff73a8%26backgroundLight%3D%2523ffffff%26backgroundDark%3D%25230e0b0e&w=1200&q=100"
property="og:image:width" content="1200"
property="og:image:height" content="630"
property="og:type" content="website"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="TypeScript 6 and 7 - Bun"
name="twitter:description" content="How to configure Bun's type definitions for TypeScript 6.0 and 7.0, which no longer auto-discover @types packages. Fix 'Cannot find name Bun' and other missing type errors after upgrading TypeScript."
name="twitter:image" content="htt????/bun-1dd33a4e.mintlify.app/_next/image?url=%2F_mintlify%2Fapi%2Fog%3Fdivision%3DGet%2BStarted%26appearance%3Dsystem%26title%3DTypeScript%2B6%2Band%2B7%26description%3DHow%2Bto%2Bconfigure%2BBun%2527s%2Btype%2Bdefinitions%2Bfor%2BTypeScript%2B6.0%2Band%2B7.0%252C%2Bwhich%2Bno%2Blonger%2Bauto-discover%2B%2540types%2Bpackages.%2BFix%2B%2527Cannot%2Bfind%2Bname%2BBun%2527%2Band%2Bother%2Bmissing%2B%26logoLight%3Dhttps%253A%252F%252Fmintcdn.com%252Fbun-1dd33a4e%252FJUhaF6Mf68z_zHyy%252Flogo%252Flogo-with-wordmark-dark.svg%253Ffit%253Dmax%2526auto%253Dformat%2526n%253DJUhaF6Mf68z_zHyy%2526q%253D85%2526s%253D3f55cd23822028e40658b192c927f3e4%26logoDark%3Dhttps%253A%252F%252Fmintcdn.com%252Fbun-1dd33a4e%252FJUhaF6Mf68z_zHyy%252Flogo%252Flogo-with-wordmark-light.svg%253Ffit%253Dmax%2526auto%253Dformat%2526n%253DJUhaF6Mf68z_zHyy%2526q%253D85%2526s%253D8a0c5928d9dc3631f0d33e17c257e2ec%26primaryColor%3D%2523ff73a8%26lightColor%3D%2523ff73a8%26darkColor%3D%2523ff73a8%26backgroundLight%3D%2523ffffff%26backgroundDark%3D%25230e0b0e&w=1200&q=100"
name="twitter:image:width" content="1200"
name="twitter:image:height" content="630"

Load Info

page size54266
load time (s)0.354033
redirect count1
speed download153293
server IP 104.26.5.138
* all occurrences of the string "http://" have been changed to "htt???/"