From d0085ad3d6b548160543d63165033ba5ae0dedae Mon Sep 17 00:00:00 2001 From: LiaoPeng Date: Sun, 9 Sep 2018 09:54:50 +0800 Subject: [PATCH] Add missing declaration of Map#get in std/assembly (#223) --- NOTICE | 1 + std/assembly/index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/NOTICE b/NOTICE index 7f93b281..a557707c 100644 --- a/NOTICE +++ b/NOTICE @@ -8,6 +8,7 @@ under the licensing terms detailed in LICENSE: * Igor Sbitnev * Norton Wang * Alan Pierce +* Palmer Portions of this software are derived from third-party works licensed under the following terms: diff --git a/std/assembly/index.d.ts b/std/assembly/index.d.ts index ab54cb4b..29b2596d 100644 --- a/std/assembly/index.d.ts +++ b/std/assembly/index.d.ts @@ -524,6 +524,7 @@ declare class Map { readonly size: i32; has(key: K): bool; set(key: K, value: V): void; + get(key: K): V; delete(key: K): bool; clear(): void; }