TypeScript definitions for the Netlify platform
npm install @netlify/types
TypeScript types for Netlify platform primitives.
``shell`
npm install @netlify/types
- Node.js 16.0.0 and above
This package provides TypeScript type definitions for various Netlify platform primitives. Import the types you need in
your TypeScript code:
`typescript`
import type { Context } from '@netlify/types'
import type { NetlifyGlobal } from '@netlify/types'
The package includes TypeScript definitions for:
- Context: Type definitions for Netlify's context objectNetlifyGlobal`: Type definitions for Netlify's global variables
-
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or
submit a pull request.