UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

32 lines (21 loc) 988 B
--- lang: en title: 'API docs: core.application._constructor__1' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/core permalink: /doc/en/lb4/apidocs.core.application._constructor__1.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/core](./core.md) &gt; [Application](./core.application.md) &gt; [(constructor)](./core.application._constructor__1.md) ## Application.(constructor) Create an application with the given configuration and parent context <b>Signature:</b> ```typescript constructor(config?: ApplicationConfig, parent?: Context); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | config | [ApplicationConfig](./core.applicationconfig.md) | Application configuration | | parent | [Context](./context.context.md) | Parent context |