提交 4bd295b6 编写于 作者: J Johannes Rieken

fix strict null

上级 18177c58
...@@ -11,7 +11,7 @@ export class SyncDescriptor<T> { ...@@ -11,7 +11,7 @@ export class SyncDescriptor<T> {
readonly staticArguments: any[]; readonly staticArguments: any[];
readonly supportsDelayedInstantiation: boolean; readonly supportsDelayedInstantiation: boolean;
constructor(ctor: new (...args: any[]) => T, staticArguments: any[] = [], supportsDelayedInstantiation?: boolean) { constructor(ctor: new (...args: any[]) => T, staticArguments: any[] = [], supportsDelayedInstantiation: boolean = false) {
this.ctor = ctor; this.ctor = ctor;
this.staticArguments = staticArguments; this.staticArguments = staticArguments;
this.supportsDelayedInstantiation = supportsDelayedInstantiation; this.supportsDelayedInstantiation = supportsDelayedInstantiation;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册