0.0.9 • Published 2 years ago
@benjaminaster/new-javascript v0.0.9
⚠ This package has moved to new-javascript
. Please uninstall @benjaminaster/new-javascript
and install new-javascript
TypeScript Types for new JavaScript
This repository contains TypeScript type definitions for new JavaScript stuff that isn't yet in TypeScript's standard type definitions. Some specifications have only partially been integrated into TypeScript's standard type definitions, in which case this repository contains only the parts of the specifications that aren't there (yet).
NPM: new-javascript
GitHub: BenjaminAster/TypeScript-types-for-new-JavaScript
Install using npm:
npm i -D new-javscript
Reference the type definitions directly in your TypeScript/JavaScript files...
/// <reference types="new-javascript" />
...or include them in your tsconfig.json
or jsconfig.json
:
{
"compilerOptions": {
"types": ["new-javascript"],
},
}
These type definitions include the following specifications (grouped by venue):
- WICG:
- File System Access API
- Local Font Access API
- Manifest Incubations (this includes BeforeInstallPromptEvent and File Handling)
- Navigation API
- Sanitizer API
- Shape Detection API
- Shared Element Transitions
- User-Agent Client Hints
- URLPattern API
- Window Controls Overlay
- W3C: - MediaStream Image Capture
- WHATWG: - File System
- TC39: - Array Grouping