Skip to content

eisengrind/altv-types

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

altv-types

This repository contains types definitions for the alt:V JavaScript modules.

Installation

Client-side

# With npm
npm i -D @altv/types-client @altv/types-natives @altv/types-webview
# With yarn
yarn add -D @altv/types-client @altv/types-natives @altv/types-webview

Server-side

# With npm
npm i -D @altv/types-server
# With yarn
yarn add -D @altv/types-server

To make these types detectable, you've to add typeRoots property below to your project's tsconfig.json

{
  "compilerOptions": {
    "typeRoots": [
      "./node_modules/@types",
      "./node_modules/@altv"
    ]
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published