TS1086: An accessor cannot be declared in ambient context December 31, 2022 by Tarik Setting "skipLibCheck": true in tsconfig.json solved my problem "compilerOptions": { "skipLibCheck": true }