effect icon indicating copy to clipboard operation
effect copied to clipboard

moduleResolution "Node16" breaks Sync.struct (module augmentation?)

Open patroza opened this issue 3 years ago • 1 comments

https://github.com/patroza/ts-node16-resolution-test/blob/master/_src/sync-test.ts

patroza avatar Jun 22 '22 10:06 patroza

Adding to the exports in system, before "./*" resolves the issue:

    "./*.js": {
      "import": "./_mjs/*.mjs",
      "require": "./*.js"
    },

I found this in the code, but removing .js had no bearing on the issue:

declare module "../Prelude/HKT/hkt.js" {

patroza avatar Jun 22 '22 11:06 patroza

@patroza is this still an issue?

tim-smart avatar Mar 19 '24 21:03 tim-smart

@patroza is this still an issue?

no. I start to see a pattern here :D

patroza avatar Mar 19 '24 21:03 patroza