ScalablyTyped / Converter

Typescript to Scala.js converter
https://scalablytyped.org
GNU General Public License v3.0
218 stars 43 forks source link

next 14.2.12 failed #654

Open mio-19 opened 2 weeks ago

mio-19 commented 2 weeks ago

I tried to convert next and got an error Couldn't parse: Parse error at 2.16 end of input expected

mio-19 commented 2 weeks ago

I tried an older version 12.3.4

[error] FollowAliases.scala:27  Recovered from SOE while following type alias next.next/dist/compiled/@edge-runtime/primitives/events.EventTarget.CallbackFunction<TEventTarget, TEvent> [thread => 107, project => jstypings, ms => 108536, phase => typescript, scope => TreeScope(TsParsedFile() / TsDeclModule(next/dist/compiled/@edge-runtime/primitives/events) / TsDeclNamespace(EventTarget) / TsDeclTypeAlias(EventListener)), id => next]
[error] FollowAliases.scala:27  Recovered from SOE while following type alias next.next/dist/compiled/@edge-runtime/primitives/events.EventTarget.CallbackObject<TEvent> [thread => 107, project => jstypings, ms => 108573, phase => typescript, scope => TreeScope(TsParsedFile() / TsDeclModule(next/dist/compiled/@edge-runtime/primitives/events) / TsDeclNamespace(EventTarget) / TsDeclTypeAlias(EventListener)), id => next]
[warn] TsTreeScope.scala:84  Cannot resolve TsQIdent(IArray(TsIdentLibrarySimple(next), TsIdentModule(None,List(next, dist, compiled, webpack, webpack)), TsIdentSimple(webpack), TsIdentSimple(WebpackPluginInstance))) [thread => 107, project => jstypings, ms => 108890, phase => typescript, scope => TreeScope(TsParsedFile() / TsDeclModule(next/dist/build/webpack/plugins/next-drop-client-page-plugin) / TsDeclClass(DropClientPage)), id => next]
[error] PhaseRes.scala:81  StackOverflowError [thread => 107, project => jstypings, ms => 108999, phase => typescript, id => next]java.lang.StackOverflowError