typescript abstract static method

The solution for “typescript abstract static method” can be found here. The following code will assist you in solving the problem.

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”; }
}

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in