2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)TypeScript13,395 forks (13,395 forks)batch import
BugDomain: lib.d.tsHelp Wanted
Repository metrics
- Stars
- 108,860 stars (108,860 stars)
- PR merge metrics
- Avg merge 6d 17h (Avg merge 6d 17h)9 merged PRs in 30d (9 merged PRs in 30d)
Description
lib Update Request
Configuration Check
My compilation target is ES2015 and my lib is the default.
Missing / Incorrect Definition
Missing documentation in interface WebGLContextAttributes lib.dom.d.ts, line 1960
Sample Code
The missing documentation results in gaps in auto-generated documentation for rendering libraries, i.e Babylon.js - EngineOptions.
Documentation Link
WebGLContextAttributes definitions can be found at WebGL Context Creation Spec.
Contributor guide
- Research direction
- Locate the WebGLContextAttributes interface in lib.dom.d.ts at line ~1960, then add JSDoc comments using the WebGL spec link provided (https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.2.1). Ensure the documentation describes each attribute (alpha, depth, stencil, antialias, premultipliedAlpha, preserveDrawingBuffer, failIfMajorPerformanceCaveat, powerPreference). Submit a PR to the Microsoft/TypeScript repository.
- Tech stack
- typescript
- Domain
- frontenddocumentation
- Issue type
- Documentation
- Prerequisites
- GitTypeScript