diff --git a/typescript/base/tree/customtree.ts b/typescript/base/tree/customtree.ts index 91f3a3482..0c712718c 100644 --- a/typescript/base/tree/customtree.ts +++ b/typescript/base/tree/customtree.ts @@ -8,7 +8,7 @@ export declare class CustomTree extends Widget { stroke(...args: any[]): void; - populate(nodes: any, ...args: any[]): void; + populate(nodes?: any, ...args: any[]): void; getAllButtons(): T[];