diff --git a/typescript/base/single/single.ts b/typescript/base/single/single.ts index 84b65914d5..841fd6c819 100644 --- a/typescript/base/single/single.ts +++ b/typescript/base/single/single.ts @@ -11,7 +11,7 @@ export interface _Single extends _Widget { disabledHover(): void; - setTitle(title: string, opt?: SingleOpt): void; + setTitle(title: string | Function, opt?: SingleOpt): void; setWarningTitle(title: string, opt?: SingleOpt): void;