@mechazawa/cc-types
v1.0.8
Published
Typescript definitions for ComputerCraft:Tweaked
Downloads
4
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:
- [ ] Globals
- [x] _G
- [x] colors
- [ ] ~colours~
- [x] commands
- [ ] disk
- [x] fs
- [ ] gps
- [ ] help
- [ ] http
- [ ] io
- [x] keys
- [ ] multishell
- [x] os
- [ ] paintutils
- [x] parallel
- [x] peripheral
- [x] rednet
- [ ] redstone
- [ ] settings
- [ ] shell
- [x] term
- [x] textutils
- [x] turtle
- [ ] vector
- [ ] window
- [ ] Modules
- [ ] cc.audio.dfpwm
- [ ] cc.completion
- [ ] cc.expect
- [ ] cc.image.nft
- [ ] cc.pretty
- [ ] cc.require
- [ ] cc.shell.completion
- [ ] cc.strings
- [ ] Peripherals
- [ ] command
- [ ] computer
- [ ] drive
- [ ] modem
- [ ] monitor
- [ ] printer
- [ ] speaker
- [x] Generic Peripherals
- [x] energy_storage
- [x] fluid_storage
- [x] inventory