EngineHub / EngineHub/WorldEdit

Craftscript types support

Open
#2,968 2 comments 0 reactions 0 assignees View on GitHub
status:accepted type:feature-request
Dominant language
Java
Stars
3.5k
Forks
960
Avg merge
6h 57m
Merged PRs (30d)
1

Description

### The Problem

I'm using Craftscript. Right now, it has no types, so discovering the api is painful.

### A Solution

I (using AI) wrote a script that generates types based on `javap` output. I've saved it as a gist [here](https://gist.github.com/Iancam/28c3f85d67239a5e680d5ce0ad3bbd08). If it is acceptable (I'm using it now and find it works), please integrate it! Or publish an official npm @types/craftscripts file with the types generated.

### Alternatives

_No response_

### Anything Else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.