@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
31 lines (20 loc) • 891 B
Markdown
lang: en
title: 'API docs: graphql.graphqlcomponent._constructor_'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/graphql
permalink: /doc/en/lb4/apidocs.graphql.graphqlcomponent._constructor_.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/graphql](./graphql.md) > [GraphQLComponent](./graphql.graphqlcomponent.md) > [(constructor)](./graphql.graphqlcomponent._constructor_.md)
## GraphQLComponent.(constructor)
Constructs a new instance of the `GraphQLComponent` class
<b>Signature:</b>
```typescript
constructor(app: Application);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| app | [Application](./core.application.md) | |