From 4b3c5a76a6cfd8a2a64287d96d710a7edb9410c9 Mon Sep 17 00:00:00 2001 From: Devin xu <43980438+devinux@users.noreply.github.com> Date: Fri, 27 Dec 2019 23:56:35 +0800 Subject: [PATCH] add new features (#41191) --- types/yog2-kernel/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/yog2-kernel/index.d.ts b/types/yog2-kernel/index.d.ts index 15551bd6e1..25029ed2bd 100644 --- a/types/yog2-kernel/index.d.ts +++ b/types/yog2-kernel/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for yog2-kernel 1.9 // Project: https://github.com/fex-team/yog2-kernel // Definitions by: ssddi456 +// devinux // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -82,9 +83,13 @@ declare class Yog { // debug模式时存在 reloadIsomorphic?(): void; + PLUGINS_PATH: string; ROOT_PATH: string; + PLUGIN_TIMEOUT: string | number; + DEBUG: boolean; bootstrap(option: yog.YogBootstrapOption, callback?: () => void): void; + require(moduleName: string): any; } declare const yog: Yog;