proposal-type-imports icon indicating copy to clipboard operation
proposal-type-imports copied to clipboard

Importing host types in JS embedding

Open bvibber opened this issue 5 years ago • 0 comments

There's been talk on other proposals about strings, including the notion of using type imports to import JavaScript host strings as a type and pass them around, with proper type checks at call boundaries.

Is that possible under this proposal? I don't see a mention yet of a JS embedding API for specifying host reference types like object, string, symbol, etc.

bvibber avatar Oct 22 '20 15:10 bvibber