mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
18 lines
252 B
TypeScript
18 lines
252 B
TypeScript
'use strict';
|
|
|
|
/**
|
|
* example
|
|
* @class
|
|
*/
|
|
class ExampleController {
|
|
|
|
/**
|
|
* test
|
|
*/
|
|
async test () {
|
|
return 'hello electron-egg';
|
|
}
|
|
}
|
|
|
|
ExampleController.toString = () => '[class ExampleController]';
|
|
module.exports = ExampleController;
|