Добавить описание модуля - Adding declarations file manually (TypeScript)

If you dont need to care about the typings inside this module you can only create a *.d.ts file and put the following content (e.g. create a typings.d.ts):

declare module 'google-spreadsheet';

To define the types inside the module you can change the above code to:

declare module 'google-spreadsheet' {
    // define the types...
}

 

Сreated @types/<module_name> dir in  src follder and put there index.d.ts file with one line like above. It worked