loading...

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

bugmagnet profile image Bruce Axtens ・1 min read

CSEncoding.Default.GetString() was

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

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

Discussion

markdown guide