mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
16 lines
249 B
TypeScript
16 lines
249 B
TypeScript
/**
|
|
* example
|
|
* @class
|
|
*/
|
|
class ExampleController {
|
|
|
|
/**
|
|
* test
|
|
*/
|
|
async test(): Promise<string> {
|
|
return 'hello electron-egg';
|
|
}
|
|
}
|
|
ExampleController.toString = () => '[class ExampleController]';
|
|
|
|
export default ExampleController; |