TS Function Type with Multiple Signature

I write this in the vscode and there is no error and warning. But I wonder if this type can be instantiated, if so, please give me an example, thanks!

type MyFunction = {
(x:any):boolean;
(x:any, y:any):boolean;
desc:string;

}