Answers for "typescript abstract static method"

0

typescript abstract static method

interface ConfigConstructor {
    CoreInterface: () => any;
    new (): Config;
}

interface Config {
    readonly NAME: string;
    readonly TITLE: string;
}

const Test: ConfigConstructor = class Test implements Config {
    readonly NAME: string;
    readonly TITLE: string;

    static CoreInterface = function (): any { return "something"; }
}
Posted by: Guest on April-22-2022

Code answers related to "typescript abstract static method"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language