adminjs
Version:
Admin panel for apps written in node.js
23 lines (22 loc) • 590 B
TypeScript
import { PathParts } from './path-parts.type.js';
/**
* @memberof module:flat
* @alias PathToPartsOptions
*/
export type PathToPartsOptions = {
/**
* Indicates if array indexes should be skipped from the outcome.
*/
skipArrayIndexes?: boolean;
};
/**
* @load ./path-to-parts.doc.md
* @param {string} propertyPath
* @param {PathToPartsOptions} options
* @returns {PathParts}
*
* @memberof module:flat
* @alias pathToParts
*/
declare const pathToParts: (propertyPath: string, options?: PathToPartsOptions) => PathParts;
export { pathToParts };