DEV Community

Bruce Axtens
Bruce Axtens

Posted on

What about Object.Method().Property in Typescript?

CSEncoding.Default.GetString() was

declare namespace CSEncoding {
    declare namespace Default {
        function GetString(s: string, n1: number, n2: number): string;
    }
}
Enter fullscreen mode Exit fullscreen mode

but what about CSProcess.GetCurrentProcess().Id? GetCurrentProcess is a function returning an object with a property? Is that how to read it??

Top comments (0)