"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Vue = void 0;
var getStory_1 = require("./getStory");
var GlCodeBlock_1 = require("../GlCodeBlock");
var sectionName_1 = require("./sectionName");
var _a = getStory_1.getStoryFactory({
    sectionName: sectionName_1.sectionName,
    "wrappedComponent": { GlCodeBlock: GlCodeBlock_1.GlCodeBlock },
}), getStory = _a.getStory, meta = _a.meta;
exports.default = meta;
exports.Vue = getStory({
    "hasDecorativeVsCodeButtons": true,
    "hasShadow": true,
    "language": "typescript",
    "text": "declare function listFilesOfDirectory(dirPath: string): string[];\ndeclare function isDirectory(): boolean;\n\nfunction getAllFiles(startFileName: string) {\n\tconst result: string[] = [];\n\ttraverse(startFileName);\n\treturn result;\n\tfunction traverse(currentPath: string) {\n\t\treturn isDirectory\n\t\t\t? \n\t\t\t\tlistFilesOfDirectory(currentPath).forEach(traverse)\n\t\t\t: result.push(currentPath);\n\t}\n}\n\t",
});
//# sourceMappingURL=GlCodeBlock.stories.js.map