Crates.io | wally-package-types |
lib.rs | wally-package-types |
version | 1.4.0 |
source | src |
created_at | 2022-07-03 12:41:16.513149 |
updated_at | 2024-10-26 18:00:09.083438 |
description | Tool to fix wally package thunks with Luau types |
homepage | |
repository | |
max_upload_size | |
id | 618323 |
size | 39,841 |
A small tool which fixes the issue of wally thunks not including exported types, necessary for proper Luau type checking support.
The tool takes in a path to a Packages folder, as well as a path to a generated sourcemap, and attempts to retrieve the relevant types and append them to the top of the package thunk
Install your wally packages
wally install
Generate a sourcemap (Rojo 7.1.0+) using
rojo sourcemap default.project.json --output sourcemap.json
then run
wally-package-types --sourcemap sourcemap.json Packages/