feat: unmanaged baseEventDir

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-02-26 10:36:30 +08:00
parent 3143851969
commit 9ea4a067f1

View File

@ -4,7 +4,7 @@
*/
import '@ms/core'
import '@ms/nashorn'
import { injectable } from '@ms/container'
import { injectable, unmanaged } from '@ms/container'
const Thread = Java.type('java.lang.Thread');
@ -25,7 +25,7 @@ export namespace event {
protected baseEventDir = '';
constructor(baseEventDir: string) {
constructor(@unmanaged() baseEventDir: string) {
this.baseEventDir = baseEventDir;
}