From bc2374571cb8f0bf96757a8f08eff0a7d2d6330e Mon Sep 17 00:00:00 2001 From: Ryan Atkinson Date: Wed, 17 Jul 2024 23:45:46 -0600 Subject: [PATCH] add tests --- .../typescript-declarationMap/expected/runes.svelte.d.ts | 3 +++ .../typescript-declarationMap/expected/runes.svelte.d.ts.map | 1 + .../samples/typescript-declarationMap/src/runes.svelte.ts | 1 + 3 files changed, 5 insertions(+) create mode 100644 packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/expected/runes.svelte.d.ts create mode 100644 packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/expected/runes.svelte.d.ts.map create mode 100644 packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/src/runes.svelte.ts diff --git a/packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/expected/runes.svelte.d.ts b/packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/expected/runes.svelte.d.ts new file mode 100644 index 000000000..62941f2c0 --- /dev/null +++ b/packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/expected/runes.svelte.d.ts @@ -0,0 +1,3 @@ +export declare class Runes { +} +//# sourceMappingURL=runes.svelte.d.ts.map \ No newline at end of file diff --git a/packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/expected/runes.svelte.d.ts.map b/packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/expected/runes.svelte.d.ts.map new file mode 100644 index 000000000..9de9b902c --- /dev/null +++ b/packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/expected/runes.svelte.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"runes.svelte.d.ts","sourceRoot":"","sources":["../src/runes.svelte.ts"],"names":[],"mappings":"AAAA,qBAAa,KAAK;CAAG"} \ No newline at end of file diff --git a/packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/src/runes.svelte.ts b/packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/src/runes.svelte.ts new file mode 100644 index 000000000..58b52cbfd --- /dev/null +++ b/packages/svelte2tsx/test/emitDts/samples/typescript-declarationMap/src/runes.svelte.ts @@ -0,0 +1 @@ +export class Runes {} \ No newline at end of file