Ask coding questions

← Back to all posts
Typescript Type 'XX' is not assignable to type import(“/Volumes/D/test”).XX'.ts(2322)
AmanBansal1 (0)

have created Code which will override the default config for the Class but I am getting weird error Type 'IConfig' is not assignable to type 'import("/Volumes/D/www/js/tsc_1/test").IConfig'.ts(2322)

I cannot assign the same variable TYPE to another variable. please check the screenshot