init
This commit is contained in:
16
electron/controller/example.ts
Normal file
16
electron/controller/example.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* example
|
||||
* @class
|
||||
*/
|
||||
class ExampleController {
|
||||
|
||||
/**
|
||||
* test
|
||||
*/
|
||||
async test(): Promise<string> {
|
||||
return 'hello electron-egg';
|
||||
}
|
||||
}
|
||||
ExampleController.toString = () => '[class ExampleController]';
|
||||
|
||||
export default ExampleController;
|
||||
Reference in New Issue
Block a user