UNPKG

vitepress-jsdoc

Version:

A bridge between Vitepress and JSDoc-style commented codebases for hassle-free documentation.

17 lines 640 B
import { type Parser } from '../../interfaces.js'; /** * Factory object for creating parser instances based on file types. * * @namespace parserFactory */ export declare const parserFactory: { /** * Creates and returns a parser instance based on the provided file type. * * @param {string} fileType - The type of the file (e.g., '.js', '.js', '.vue'). * @returns {Parser} - An instance of a parser corresponding to the file type. * @throws {Error} - Throws an error if the provided file type is unsupported. */ createParser(fileType: string): Parser; }; //# sourceMappingURL=parser-factory.d.ts.map