Closed bogeychan closed 1 year ago
exports
package.json
Elysia.js
0.5.12
memoirist
CJS
ESM
Node.js
I had to add any in src/index.ts because of a type error during build:
any
src/index.ts
- app.ws<any>(endpoint, { + app.ws<any, any>(endpoint, {
exports
inpackage.json
as mentioned in https://github.com/elysiajs/elysia/issues/50Elysia.js
to0.5.12
because the previous version includesmemoirist
that does not support CommonJSCJS
&ESM
underNode.js
I had to add
any
insrc/index.ts
because of a type error during build: