Unverified Commit 54878eb7 authored by Douglas Gubert's avatar Douglas Gubert Committed by GitHub

Merge pull request #40 from RocketChat/d-gubert-patch-1

Update App constructor signature on README
parents ff25c65f d322827e
......@@ -45,8 +45,8 @@ The basic creation of an App is based on extending the `App` class from the Rock
```
import {
IAppAccessors,
IConfigurationExtend,
IConfigurationModify,
IEnvironmentRead,
ILogger,
} from '@rocket.chat/apps-engine/definition/accessors';
......@@ -54,8 +54,8 @@ import { App } from '@rocket.chat/apps-engine/definition/App';
import { IAppInfo } from '@rocket.chat/apps-engine/definition/metadata';
export class TodoListApp extends App {
constructor(info: IAppInfo, logger: ILogger) {
super(info, logger);
constructor(info: IAppInfo, logger: ILogger, accessors: IAppAccessors) {
super(info, logger, accessors);
}
public async initialize(configurationExtend: IConfigurationExtend, environmentRead: IEnvironmentRead): Promise<void> {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment