@mechazawa/cc-types
v1.0.9
Published
Typescript definitions for ComputerCraft:Tweaked
Maintainers
Readme
cc-types
This repo contains type definitions for ComputerCraft:Tweaked.
Feel free to make a pull request containing improvements or missing implimentations.
Installation
- Install the package
npm install --include=dev @mechazawa/cc-types- Modify your
tsconfig.json
{
"compilerOptions": {
+ "types": [
+ "@typescript-to-lua/language-extensions",
+ "@mechazawa/cc-types"
+ ]
}
}Progress
Done:
- [x] Globals
- [x] _G
- [x] colors
- [x] colours
- [x] commands
- [x] disk
- [x] fs
- [x] gps
- [x] help
- [x] http
- [x] io
- [x] keys
- [x] multishell
- [x] os
- [x] paintutils
- [x] parallel
- [x] peripheral
- [x] pocket
- [x] rednet
- [x] redstone
- [x] settings
- [x] shell
- [x] term
- [x] textutils
- [x] turtle
- [x] vector
- [x] window
- [x] Modules
- [x] cc.audio.dfpwm
- [x] cc.completion
- [x] cc.expect
- [x] cc.image.nft
- [x] cc.pretty
- [x] cc.require
- [x] cc.shell.completion
- [x] cc.strings
- [x] Peripherals
- [x] command
- [x] computer
- [x] drive
- [x] modem
- [x] monitor
- [x] printer
- [x] speaker
- [x] Generic Peripherals
- [x] energy_storage
- [x] fluid_storage
- [x] inventory
