We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa51a6f commit ca0bf64Copy full SHA for ca0bf64
website/pages/en/developing/assemblyscript-api.mdx
@@ -176,7 +176,7 @@ import { TypedMap } from '@graphprotocol/graph-ts'
176
177
The `TypedMap` class has the following API:
178
179
-- `new TypedMap<K, V>()` – creates an empty map with keys of type `K` and values of type `T`
+- `new TypedMap<K, V>()` – creates an empty map with keys of type `K` and values of type `V`
180
- `map.set(key: K, value: V): void` – sets the value of `key` to `value`
181
- `map.getEntry(key: K): TypedMapEntry<K, V> | null` – returns the key-value pair for a `key` or `null` if the `key` does not exist in the map
182
- `map.get(key: K): V | null` – returns the value for a `key` or `null` if the `key` does not exist in the map
0 commit comments