@fnlb-project/stanza
Version:
Modern XMPP in the browser, with a JSON API
11 lines (10 loc) • 322 B
TypeScript
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from: xhtml-im.js, Copyright © 2013 Waqas Hussain
*/
import { JSONElement } from '../Element';
declare function sanitizeRoot(input: JSONElement | string): JSONElement | string | undefined;
export default sanitizeRoot;