I read the tslint rules here and although it looks like a typedef rule call-signature - this is what I want, it does not complain about the lack of a return type.
call-signature
Does anyone know a rule (f exists) for enforcing return types in class methods?
It turns out this can be done with:
"typedef": [ true, "call-signature", "property-declaration" ]
Source: https://habr.com/ru/post/1672290/More articles:VBA для копирования из одной книги и вставки в другую - vbaHow to create a jar extension that depends on another extension? - pythonsqlcmd and / or PowerShell wrapping XML output - xmlCordova-Plugin-Firebase, when the application switches from OFF to ACTIVE, onNotificationOpen () does not work on Android - androidhow to make a div with auto height overflow? - htmlКак оптимизировать конвейер sklearn, используя XGboost, для другого `eval_metric`? - pythonHow to roll over this recursive function - javascriptNo executable file found the matching dotnet-projectmodel-server command, VS2015 - asp.net-coreПолучение предметов из реактивного потока SubmissionPublisher - reactive-programmingiOS: dynamically adjust the height of a UITableView in Swift - iosAll Articles