emscripten-core / emscripten-core/emscripten

emit-tsd could also help with typings for MODULARIZE function arg

Open
#21,795 0 comments 0 reactions 1 assignee Claimed by @brendandahl View on GitHub
TypeScript
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

**Version of emscripten/emsdk:**
3.1.57

Right now, the emitted type of the `options` argument for the modularize function is `unknown`. It would be nice if typings were included for this.

It would also be nice if it took into account `INCOMING_MODULE_JS_API` to only declare those properties.

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.