|
| 1 | +tests/cases/conformance/node/allowJs/index.cjs(2,23): error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 2 | +tests/cases/conformance/node/allowJs/index.cjs(3,23): error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 3 | +tests/cases/conformance/node/allowJs/index.cjs(4,24): error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 4 | +tests/cases/conformance/node/allowJs/index.js(2,23): error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 5 | +tests/cases/conformance/node/allowJs/index.js(3,23): error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 6 | +tests/cases/conformance/node/allowJs/index.js(4,24): error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 7 | +tests/cases/conformance/node/allowJs/index.mjs(2,23): error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 8 | +tests/cases/conformance/node/allowJs/index.mjs(3,23): error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 9 | +tests/cases/conformance/node/allowJs/index.mjs(4,24): error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 10 | +tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.cts(2,22): error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 11 | +tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.cts(3,22): error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 12 | +tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.cts(4,23): error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 13 | +tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.mts(2,22): error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 14 | +tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.mts(3,22): error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 15 | +tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.mts(4,23): error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 16 | +tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.ts(2,22): error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 17 | +tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.ts(3,22): error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 18 | +tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.ts(4,23): error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 19 | + |
| 20 | + |
| 21 | +==== tests/cases/conformance/node/allowJs/index.js (3 errors) ==== |
| 22 | + // esm format file |
| 23 | + import * as cjsi from "inner/cjs/exclude/index"; |
| 24 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 25 | +!!! error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 26 | + import * as mjsi from "inner/mjs/exclude/index"; |
| 27 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 28 | +!!! error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 29 | + import * as typei from "inner/js/exclude/index"; |
| 30 | + ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 31 | +!!! error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 32 | + cjsi; |
| 33 | + mjsi; |
| 34 | + typei; |
| 35 | +==== tests/cases/conformance/node/allowJs/index.mjs (3 errors) ==== |
| 36 | + // esm format file |
| 37 | + import * as cjsi from "inner/cjs/exclude/index"; |
| 38 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 39 | +!!! error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 40 | + import * as mjsi from "inner/mjs/exclude/index"; |
| 41 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 42 | +!!! error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 43 | + import * as typei from "inner/js/exclude/index"; |
| 44 | + ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 45 | +!!! error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 46 | + cjsi; |
| 47 | + mjsi; |
| 48 | + typei; |
| 49 | +==== tests/cases/conformance/node/allowJs/index.cjs (3 errors) ==== |
| 50 | + // cjs format file |
| 51 | + import * as cjsi from "inner/cjs/exclude/index"; |
| 52 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 53 | +!!! error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 54 | + import * as mjsi from "inner/mjs/exclude/index"; |
| 55 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 56 | +!!! error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 57 | + import * as typei from "inner/js/exclude/index"; |
| 58 | + ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 59 | +!!! error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 60 | + cjsi; |
| 61 | + mjsi; |
| 62 | + typei; |
| 63 | +==== tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.ts (3 errors) ==== |
| 64 | + // cjs format file |
| 65 | + import * as cjs from "inner/cjs/exclude/index"; |
| 66 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 67 | +!!! error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 68 | + import * as mjs from "inner/mjs/exclude/index"; |
| 69 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 70 | +!!! error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 71 | + import * as type from "inner/js/exclude/index"; |
| 72 | + ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 73 | +!!! error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 74 | + export { cjs }; |
| 75 | + export { mjs }; |
| 76 | + export { type }; |
| 77 | +==== tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.mts (3 errors) ==== |
| 78 | + // esm format file |
| 79 | + import * as cjs from "inner/cjs/exclude/index"; |
| 80 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 81 | +!!! error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 82 | + import * as mjs from "inner/mjs/exclude/index"; |
| 83 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 84 | +!!! error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 85 | + import * as type from "inner/js/exclude/index"; |
| 86 | + ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 87 | +!!! error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 88 | + export { cjs }; |
| 89 | + export { mjs }; |
| 90 | + export { type }; |
| 91 | +==== tests/cases/conformance/node/allowJs/node_modules/inner/exclude/index.d.cts (3 errors) ==== |
| 92 | + // cjs format file |
| 93 | + import * as cjs from "inner/cjs/exclude/index"; |
| 94 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 95 | +!!! error TS2307: Cannot find module 'inner/cjs/exclude/index' or its corresponding type declarations. |
| 96 | + import * as mjs from "inner/mjs/exclude/index"; |
| 97 | + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 98 | +!!! error TS2307: Cannot find module 'inner/mjs/exclude/index' or its corresponding type declarations. |
| 99 | + import * as type from "inner/js/exclude/index"; |
| 100 | + ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 101 | +!!! error TS2307: Cannot find module 'inner/js/exclude/index' or its corresponding type declarations. |
| 102 | + export { cjs }; |
| 103 | + export { mjs }; |
| 104 | + export { type }; |
| 105 | +==== tests/cases/conformance/node/allowJs/package.json (0 errors) ==== |
| 106 | + { |
| 107 | + "name": "package", |
| 108 | + "private": true, |
| 109 | + "type": "module" |
| 110 | + } |
| 111 | +==== tests/cases/conformance/node/allowJs/node_modules/inner/package.json (0 errors) ==== |
| 112 | + { |
| 113 | + "name": "inner", |
| 114 | + "private": true, |
| 115 | + "exports": { |
| 116 | + "./cjs/*": "./*.cjs", |
| 117 | + "./cjs/exclude/*": null, |
| 118 | + "./mjs/*": "./*.mjs", |
| 119 | + "./mjs/exclude/*": null, |
| 120 | + "./js/*": "./*.js", |
| 121 | + "./js/exclude/*": null |
| 122 | + } |
| 123 | + } |
0 commit comments