Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as One from 'fullstack-one';
export class Example extends One.AbstractPackage {
constructor() {
super();
}
public async example(): Promise {
return {
$one: this.$one,
CONFIG: this.CONFIG,
eventEmitter: this.eventEmitter,
logger: this.logger
};
}
}