UNPKG

wordnik-api

Version:

Community API for https://wordnik.com with types

19 lines (18 loc) 383 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Defines word labels. */ class Label { /** * Constructor. * * @param text {string} The text of the label. * @param type {string} The type of the label. */ constructor(text, type) { this.text = text; this.type = type; } } exports.default = Label;