Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: output typings for bin/utils.js #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

billiegoose
Copy link

@billiegoose billiegoose commented Jan 7, 2021

Sounds like their may be major improvements coming that obsolete this, but for the time being this is the tweaks I've made to get typings working for import { setPersistence, setupWSConnection } from '@stoplight/y-websocket/bin/utils'. Dunno if they'd be of interest to you but figured I'd share them.

Huly®: YJS-728

@@ -58,5 +58,5 @@
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
// "maxNodeModuleJsDepth": 5
},
"include": ["./src/y-websocket.js"]
"include": ["./src/y-websocket.js", "./bin/utils.js"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, that makes total sense!

But is it possible to keep outDir: "./dist"? Or did it lead to issues?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will look into that! (it must have caused some issue or else why did I make so many changes lol. Lemme see if I can figure out what the issue was)

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