Skip to content

Include esnext.disposable in tsconfig libs#1649

Open
stc1988 wants to merge 1 commit into
Moddable-OpenSource:publicfrom
stc1988:mcmanifest/disposable
Open

Include esnext.disposable in tsconfig libs#1649
stc1988 wants to merge 1 commit into
Moddable-OpenSource:publicfrom
stc1988:mcmanifest/disposable

Conversation

@stc1988

@stc1988 stc1988 commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

When I built a TypeScript project with Moddable 8.3.0, I ran into the following error.

../../../moddable/typings/embedded_io/serial.d.ts:59:28 - error TS2304: Cannot find name 'Disposable'.

59   interface Serial extends Disposable {}

The tsconfig generated by mcmanifest was missing esnext.disposable, so I added it.

@phoddie

phoddie commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Interesting. I thought that I had tested that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants