1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/extensions/example-extension/main.ts
Jari Kolehmainen 8a793c01db support extensions in main process
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-06 14:37:42 +03:00

12 lines
306 B
TypeScript

import { LensExtension } from "@lens/extensions";
export default class ExampleExtensionMain extends LensExtension {
onActivate() {
console.log('EXAMPLE EXTENSION MAIN: ACTIVATED', this.getMeta());
}
onDeactivate() {
console.log('EXAMPLE EXTENSION MAIN: DEACTIVATED', this.getMeta());
}
}