diff options
Diffstat (limited to 'integration/snippets')
-rw-r--r-- | integration/snippets/ts-fallback-rewrite-works.ts | 5 | ||||
-rw-r--r-- | integration/snippets/tsx-fallback-rewrite-works.tsx | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/integration/snippets/ts-fallback-rewrite-works.ts b/integration/snippets/ts-fallback-rewrite-works.ts new file mode 100644 index 000000000..8e6dabcdb --- /dev/null +++ b/integration/snippets/ts-fallback-rewrite-works.ts @@ -0,0 +1,5 @@ +// This looks like it does nothing +// But if you import /ts-fallback-rewrite-works.js, it should resolve the import to /ts-fallback-rewrite-works.ts +export function test() { + return testDone(import.meta.url); +} diff --git a/integration/snippets/tsx-fallback-rewrite-works.tsx b/integration/snippets/tsx-fallback-rewrite-works.tsx new file mode 100644 index 000000000..b18619914 --- /dev/null +++ b/integration/snippets/tsx-fallback-rewrite-works.tsx @@ -0,0 +1,5 @@ +// This looks like it does nothing +// But if you import /tsx-fallback-rewrite-works.js, it should resolve the import to /tsx-fallback-rewrite-works.tsx +export function test() { + return testDone(import.meta.url); +} |