Closed twoxfh closed 3 years ago
I'm not sure why this is happening, this bit of that file should tell Typescript that the manager
object is present in the global scope.
We can add // @ts-ignore
above the lines with the problems to get it to build, but of course it's better if we don't have to do that :/. I guess there is some error in the typescript config or an incompatibility with typescript versions.
// @ts-ignore works and now the project builds. Let me know if you want it as a pull request. Also let me know if you want a .devcontainer pull request for the project as well.
If you change WorkerGlobalScope to Window, it works. However with the newer version of Typescript there are other syntax errors in that file.
@gzuidhof not sure of the ramifications of changing the code to Window and proper fixes for the others, I am able to build and try things out so I will close the issue.
I am working on creating a devcontainer for building starboard, however I am running into an issue. with typescript below. Any suggestions?