Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split types/inputs.ts and types/outputs.ts
This commit splits the Input and Output (IO) definitions into a collection of files instead of just two total files. Now, each mod gets its own directory under /types which exposes index.ts, output.ts, and input.ts files. By splitting up defintions, we reduce the amount of memory needed to lookup the type definition for a single type -- previously, we had to load every type in the package just to read a single type.
- Loading branch information
1 parent
a8705a4
commit 5d40c31
Showing
2 changed files
with
255 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters