wordnik-api
Version:
Community API for https://wordnik.com with types
19 lines (18 loc) • 416 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Defines a citation for words.
*/
class Citation {
/**
* Constructs a new citation.
*
* @param source {string} The source of the citation.
* @param cite {string} The citation.
*/
constructor(source, cite) {
this.source = source;
this.cite = cite;
}
}
exports.default = Citation;