Packages
@runtime-edge/types

Runtime Edge Types

The @runtime-edge/types package has the TypeScript global types for using Runtime Edge.

Installation

npm install @runtime-edge/types

Usage

If you need to have these types loaded as part of the global context, you can add them inside tsconfig.json (opens in a new tab):

{
  "compilerOptions": {
    "types": ["@runtime-edge/types"]
  }
}

Alternatively, you can load them using triple-slash directive (opens in a new tab) as well:

/// <reference types="@runtime-edge/types" />