@mechazawa/cc-types
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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
npm install --include=dev @mechazawa/cc-types
  1. 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
    • [ ] pocket
    • [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

/@mechazawa/cc-types/

    Package Sidebar

    Install

    npm i @mechazawa/cc-types

    Weekly Downloads

    0

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    56.9 kB

    Total Files

    26

    Last publish

    Collaborators

    • mechazawa