πŸ“„ index.d.ts
/home/palash/git/site/node_modules/decode-named-character-reference/index.d.ts
Language: ts β€’ Lines: 13
/**
 * Decode a single character reference (without the `&` or `;`).
 * You probably only need this when you’re building parsers yourself that follow
 * different rules compared to HTML.
 * This is optimized to be tiny in browsers.
 *
 * @param {string} value
 *   `notin` (named), `#123` (deci), `#x123` (hexa).
 * @returns {string|false}
 *   Decoded reference.
 */
export function decodeNamedCharacterReference(value: string): string | false;
//# sourceMappingURL=index.d.ts.map