код, например:
                  
                  
                  const foo: FooInterface = function () {}
                  
                  
                  
                  
                  
                  foo.bar: HowToTypeThisMethod = function () {}
                  
                  
                
interface FooInterface { (): any, bar(): any }
Обсуждают сегодня