https://github.com/mechazawa/cc-types
Typescript type definitions for ComputerCraft
https://github.com/mechazawa/cc-types
computercraft typescript-definitions
Last synced: 20 days ago
JSON representation
Typescript type definitions for ComputerCraft
- Host: GitHub
- URL: https://github.com/mechazawa/cc-types
- Owner: Mechazawa
- License: mit
- Created: 2023-01-23T22:49:49.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T20:49:34.000Z (about 2 years ago)
- Last Synced: 2025-03-26T14:08:45.527Z (28 days ago)
- Topics: computercraft, typescript-definitions
- Homepage:
- Size: 41 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cc-types
--------This repo contains type definitions for ComputerCraft:Tweaked.
Feel free to make a pull request containing improvements or missing implimentations.
## Installation
1. Install the package
```bash
npm install --include=dev @mechazawa/cc-types
```2. Modify your `tsconfig.json`
```diff
{
"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