This commit is contained in:
2021-06-27 20:47:10 -05:00
parent cbd4520e12
commit 39850d8660
3 changed files with 75 additions and 10 deletions

45
index.d.ts vendored Normal file
View File

@@ -0,0 +1,45 @@
// structs
/// <reference path="structs/Feat.d.ts" />
/// <reference path="structs/MenuKey.d.ts" />
/// <reference path="structs/PlayerFeat.d.ts" />
/// <reference path="structs/Regex.d.ts" />
/// <reference path="structs/RegexResult.d.ts" />
/// <reference path="structs/v2.d.ts" />
/// <reference path="structs/v3.d.ts" />
// RAGE
/// <reference path="RAGE/AI.d.ts" />
/// <reference path="RAGE/Control.d.ts" />
/// <reference path="RAGE/Entity.d.ts" />
/// <reference path="RAGE/Graphics.d.ts" />
/// <reference path="RAGE/Object.d.ts" />
/// <reference path="RAGE/Script.d.ts" />
/// <reference path="RAGE/Streaming.d.ts" />
/// <reference path="RAGE/UI.d.ts" />
/// <reference path="RAGE/Water.d.ts" />
/// <reference path="RAGE/Audio.d.ts" />
/// <reference path="RAGE/Cutscene.d.ts" />
/// <reference path="RAGE/Fire.d.ts" />
/// <reference path="RAGE/Interior.d.ts" />
/// <reference path="RAGE/Ped.d.ts" />
/// <reference path="RAGE/ScriptDraw.d.ts" />
/// <reference path="RAGE/System.d.ts" />
/// <reference path="RAGE/Utils.d.ts" />
/// <reference path="RAGE/Weapon.d.ts" />
/// <reference path="RAGE/Cam.d.ts" />
/// <reference path="RAGE/Decorator.d.ts" />
/// <reference path="RAGE/Gameplay.d.ts" />
/// <reference path="RAGE/Network.d.ts" />
/// <reference path="RAGE/Player.d.ts" />
/// <reference path="RAGE/Stats.d.ts" />
/// <reference path="RAGE/Time.d.ts" />
/// <reference path="RAGE/Vehicle.d.ts" />
/// <reference path="RAGE/Worldprobe.d.ts" />
// base
/// <reference path="2take1.d.ts" />
/// <reference path="D3D.d.ts" />
/// <reference path="Events.d.ts" />
/// <reference path="Hooks.d.ts" />
/// <reference path="Input.d.ts" />
/// <reference path="Menu.d.ts" />

View File

@@ -1,12 +1,14 @@
{
"name": "types-ts-2take1",
"version": "1.0.0",
"description": "Typescript types for 2take1, used with https://typescripttolua.github.io",
"keywords": [
"Typescript",
"2take1",
"lua"
],
"author": "Zomo",
"license": "UNLICENSED"
"name": "types-ts-2take1",
"version": "1.0.0",
"description": "Typescript types for 2take1, used with https://typescripttolua.github.io",
"keywords": [
"Typescript",
"2take1",
"lua"
],
"main": "index.d.ts",
"types": "index",
"author": "Zomo",
"license": "UNLICENSED"
}

18
tsconfig.json Normal file
View File

@@ -0,0 +1,18 @@
{
"files": [
"index.d.ts"
],
"compilerOptions": {
"target": "esnext",
"lib": ["esnext"],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "./",
"typeRoots": ["./"],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
}
}