.NET library-syntax for typescript/javascript