export declare class Config {
readonly ROUTE_TYPE_CREATE: string;
}
import { Config } from "./Config";
export default class NewComponent {
constructor() {
this.routeType = Config.ROUTE_TYPE_CREATE;
}
}
When I compile code, it returns:
ERROR in [at-loader] ./new.cpn.ts:12:33
TS2339: Property 'ROUTE_TYPE_CREATE' does not exist on type 'typeof Config'.
What is the problem? Why is it unaccessible?