We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d5bef7 commit 1284d39Copy full SHA for 1284d39
1 file changed
recipes/correct-ts-specifiers/src/fixtures/e2e/test.ts
@@ -3,17 +3,17 @@ import { URL } from 'node:url';
3
import { bar } from '@dep/bar';
4
import { foo } from 'foo';
5
6
-import { Bird } from './Bird/index.ts';
+import { Bird } from './Bird';
7
import { Cat } from './Cat.ts';
8
-import { Dog } from '…/Dog/index.mts';
+import { Dog } from '…/Dog/index.mjs';
9
import { baseUrl } from '#config.js';
10
-import { qux } from './qux.js/index.ts';
+import { qux } from './qux.js';
11
12
-export type { Zed } from './zed.d.ts';
+export { Zed } from './zed';
13
14
// should.js be unchanged
15
16
-const nil = await import('./nil.ts');
+const nil = await import('./nil.js');
17
18
const bird = new Bird('Tweety');
19
const cat = new Cat('Milo');
0 commit comments