温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/bun/MessageEventSource
点击访问原文链接

Bun.MessageEventSource TypeScript type alias | API Reference | Bun

Bun.MessageEventSource TypeScript type alias | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/Bun/MessageEventSourceTMessageEventSource

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/Bun/MessageEventSourceTMessageEventSource

type

MessageEventSourcetype MessageEventSource = Bun.__internal.UseLibDomIfAvailable'MessageEventSource', undefined>Referenced typestype UseLibDomIfAvailableGlobalThisKeyName extends PropertyKey, Otherwise> = LibDomIsLoaded extends true ? typeof globalThis extends { [K in GlobalThisKeyName]: infer T } ? T : Otherwise : Otherwise

Helper type for avoiding conflicts in types.

Uses the lib.dom.d.ts definition if it exists, otherwise defines it locally.

This is to avoid type conflicts between lib.dom.d.ts and @types/bun.

Unfortunately some symbols cannot be defined when both Bun types and lib.dom.d.ts types are loaded, and since we can't redeclare the symbol in a way that satisfies both, we need to fallback to the type that lib.dom.d.ts provides.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

Bun.MessageEventSource TypeScript type alias | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for type bun.MessageEventSource | Bun