advanced-peripheral-types
v0.1.4
Published
Adds Typescript typings to the Advanced Peripherals Minecraft mod
Downloads
6
Maintainers
Readme
This package adds full typed coverage of the Advanced Peripherals API used to increase the functionality of Computer Craft Computers.
This package does not include types for the original Computer Craft API, but it does expose the methods needed to use Advaned Peripherals
With there already being a few packages that add typings for the base Computer Craft API, I found myself searching for a package that would do the same for AP, since I couldn't find any, I made one myself :)
Usage
Install the package using your preferred package manager
npm i -D advanced-peripheral-types
Include the package in your
tsconfig.json
to have access to the global types
"types": ["advanced-peripheral-types"]