SAMP CEF Types - is a type defenitions for SAMP CEF Browser API.
You can read more about Browser API here.
# With npm
> npm i --save-dev samp-cef-types
# With yarn
> yarn add -D samp-cef-types
# With pnpm
> pnpm add -D samp-cef-types
To make these types detectable, you need to add the types property below to tsconfig.json on each side of your project.
{
"compilerOptions": {
"types": ["{RELATIVE_PATH_TO_NODE_MODULES}/samp-cef-types"]
}
}