Run this through command promt:
npm install --save-dev github:CocaColaBear/types-ragemp-c#master
or
npm install --save-dev https://github.com/CocaColaBear/types-ragemp-c/tarball/master
npm install --save-dev github:CocaColaBear/types-ragemp-c#v2.0
or
npm install --save-dev github:CocaColaBear/types-ragemp-c#v1.0
That's all, now you can use ragemp types for Client-side!
Check this repository