UNPKG

wordnik-api

Version:

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

28 lines (27 loc) 764 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Describes the pronunciation of a word. * * This needs some more documentation, feel free to make a PR. */ class Pronunciation { /** * Pronunciation constructor. * @param seq {number} * @param raw {string} * @param rawType {string} * @param id {string} * @param attributionText {string} * @param attributionUrl {string} */ constructor(seq, raw, rawType, id, attributionText, attributionUrl) { this.seq = seq; this.raw = raw; this.rawType = rawType; this.id = id; this.attributionText = attributionText; this.attributionUrl = attributionUrl; } } exports.default = Pronunciation;