Closed gregdingle closed 2 years ago
This might just be an issue on my end because I installed from github.com. If I install from npm, it works.
Yeah. When installing from GitHub you will get the TypeScript code, when installing from npm you will get compiled JavaScript code.
The repo has a /typings
folder that has the additional typings (that were patched by patch-package
). Probably your build system doesn't read the main-thread-scheduling
tsconfig.json
file in order to detect the folder.
In general, installing TypeScript repos from GitHub may be problematic because most of the time they don't include the compiled JavaScript.
I am closing this because the npm version works which is the official way of installing the library.
Hi! đ
Firstly, thanks for your work on this project! đ
Today I used patch-package to patch
main-thread-scheduling@6.0.0
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.