UNPKG

reflected-ffi

Version:

A remotely reflected Foreign Function Interface

26 lines (23 loc) 460 B
// pointless file used to describe the returned Memo class export class Memo extends Map { static keys = Symbol(); static proto = Symbol(); /** * @template V * @param {string|symbol} key * @param {V} value * @returns {V} */ drop(key, value) { return value; } /** * @template V * @param {string|symbol} key * @param {V} value * @returns {V} */ set(key, value) { return value; } }