add hw2
This commit is contained in:
15
node_modules/@iconify/utils/lib/icon-set/validate.d.ts
generated
vendored
Normal file
15
node_modules/@iconify/utils/lib/icon-set/validate.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import { IconifyJSON } from "@iconify/types";
|
||||
/**
|
||||
* Match character
|
||||
*/
|
||||
declare const matchChar: RegExp;
|
||||
interface IconSetValidationOptions {
|
||||
fix?: boolean;
|
||||
prefix?: string;
|
||||
provider?: string;
|
||||
}
|
||||
/**
|
||||
* Validate icon set, return it as IconifyJSON type on success, throw error on failure
|
||||
*/
|
||||
declare function validateIconSet(obj: unknown, options?: IconSetValidationOptions): IconifyJSON;
|
||||
export { IconSetValidationOptions, matchChar, validateIconSet };
|
||||
Reference in New Issue
Block a user