9 lines
383 B
TypeScript
9 lines
383 B
TypeScript
|
|
import { IconifyJSON } from "@iconify/types";
|
||
|
|
/**
|
||
|
|
* Validate icon set, return it as IconifyJSON on success, null on failure
|
||
|
|
*
|
||
|
|
* Unlike validateIconSet(), this function is very basic.
|
||
|
|
* It does not throw exceptions, it does not check metadata, it does not fix stuff.
|
||
|
|
*/
|
||
|
|
declare function quicklyValidateIconSet(obj: unknown): IconifyJSON | null;
|
||
|
|
export { quicklyValidateIconSet };
|