Skip to content

Commit ca0bf64

Browse files
authored
Fix typo in assemblyscript-api.mdx (#452)
The type of values should be `V`, not `T`.
1 parent fa51a6f commit ca0bf64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/pages/en/developing/assemblyscript-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ import { TypedMap } from '@graphprotocol/graph-ts'
176176

177177
The `TypedMap` class has the following API:
178178

179-
- `new TypedMap<K, V>()` – creates an empty map with keys of type `K` and values of type `T`
179+
- `new TypedMap<K, V>()` – creates an empty map with keys of type `K` and values of type `V`
180180
- `map.set(key: K, value: V): void` – sets the value of `key` to `value`
181181
- `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
182182
- `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

Comments
 (0)