Declare ymaps property with TypeScript through typings.d.ts file (in the /src folder): export declare global { interface Window { ymaps: { ready: Function, }; } }