@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
28 lines (18 loc) • 874 B
Markdown
lang: en
title: 'API docs: boot.baseartifactbooter.discover'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/boot
permalink: /doc/en/lb4/apidocs.boot.baseartifactbooter.discover.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/boot](./boot.md) > [BaseArtifactBooter](./boot.baseartifactbooter.md) > [discover](./boot.baseartifactbooter.discover.md)
## BaseArtifactBooter.discover() method
Discover files based on the 'glob' property relative to the 'projectRoot'. Discovered artifact files matching the pattern are saved to the 'discovered' property.
<b>Signature:</b>
```typescript
discover(): Promise<void>;
```
<b>Returns:</b>
Promise<void>