You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2020. It is now read-only.
If using node-pty-prebuilt in a typescript app I get the following error from tsc:
error TS2306: File '.../node_modules/node-pty-prebuilt/typings/node-pty.d.ts' is not a module.
7 import * as pty from "node-pty-prebuilt";
~~~~~~~~~~~~~~~~~~~
The fix is to modify node-pty.d.ts from this:
declare module 'node-pty' {
to:
declare module 'node-pty-prebuilt' {
The text was updated successfully, but these errors were encountered:
mrmeku
added a commit
to mrmeku/node-pty-prebuilt
that referenced
this issue
Dec 29, 2018
Environment details
Issue description
If using node-pty-prebuilt in a typescript app I get the following error from tsc:
The fix is to modify node-pty.d.ts from this:
to:
The text was updated successfully, but these errors were encountered: