mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-21 18:51:43 +00:00
Filler implementation for std Set
This commit is contained in:
8
std/assembly.d.ts
vendored
8
std/assembly.d.ts
vendored
@ -271,6 +271,14 @@ interface Number {}
|
||||
interface Object {}
|
||||
interface RegExp {}
|
||||
|
||||
declare class Set<T> {
|
||||
readonly size: i32;
|
||||
has(value: T): bool;
|
||||
add(value: T): void;
|
||||
delete(value: T): bool;
|
||||
clear(): void;
|
||||
}
|
||||
|
||||
// Internal decorators
|
||||
|
||||
/** Annotates an element as a program global. */
|
||||
|
Reference in New Issue
Block a user