@loopback/docs
Version:
Documentation for LoopBack 4
31 lines (20 loc) • 907 B
Markdown
lang: en
title: 'API docs: extension-health.healthcomponent._constructor_'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.extension-health.healthcomponent._constructor_.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/extension-health](./extension-health.md) > [HealthComponent](./extension-health.healthcomponent.md) > [(constructor)](./extension-health.healthcomponent._constructor_.md)
## HealthComponent.(constructor)
Constructs a new instance of the `HealthComponent` class
<b>Signature:</b>
```typescript
constructor(application: Application, healthConfig?: HealthConfig);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| application | <code>Application</code> | |
| healthConfig | <code>HealthConfig</code> | |