+13
@@ -0,0 +1,13 @@
|
||||
import { AutoInstall } from "./types.js";
|
||||
import { IconifyJSON } from "@iconify/types";
|
||||
/**
|
||||
* Asynchronously loads a collection from the file system.
|
||||
*
|
||||
* @param name {string} the name of the collection, e.g. 'mdi'
|
||||
* @param autoInstall {AutoInstall} [autoInstall=false] - whether to automatically install
|
||||
* @param scope {string} [scope='@iconify-json'] - the scope of the collection, e.g. '@my-company-json'
|
||||
* @param cwd {string} [cwd=process.cwd()] - current working directory for caching
|
||||
* @return {Promise<IconifyJSON | undefined>} the loaded IconifyJSON or undefined
|
||||
*/
|
||||
declare function loadCollectionFromFS(name: string, autoInstall?: AutoInstall, scope?: string, cwd?: string): Promise<IconifyJSON | undefined>;
|
||||
export { loadCollectionFromFS };
|
||||
Reference in New Issue
Block a user