diff --git a/website/pages/en/developing/assemblyscript-api.mdx b/website/pages/en/developing/assemblyscript-api.mdx index f618606334cf..35637a39f401 100644 --- a/website/pages/en/developing/assemblyscript-api.mdx +++ b/website/pages/en/developing/assemblyscript-api.mdx @@ -176,7 +176,7 @@ import { TypedMap } from '@graphprotocol/graph-ts' The `TypedMap` class has the following API: -- `new TypedMap()` – creates an empty map with keys of type `K` and values of type `T` +- `new TypedMap()` – creates an empty map with keys of type `K` and values of type `V` - `map.set(key: K, value: V): void` – sets the value of `key` to `value` - `map.getEntry(key: K): TypedMapEntry | null` – returns the key-value pair for a `key` or `null` if the `key` does not exist in the map - `map.get(key: K): V | null` – returns the value for a `key` or `null` if the `key` does not exist in the map