UNPKG

wordnik-api

Version:

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

18 lines (15 loc) 350 B
/** * Defines a citation for words. */ export default class Citation { /** * Constructs a new citation. * * @param source {string} The source of the citation. * @param cite {string} The citation. */ public constructor( public readonly source: string, public readonly cite: string, ) {} }