From 04473c04ed59cc2a987af3405074591fbc1341a4 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 7 Aug 2024 09:43:05 +0200 Subject: fix(compile): support workspace members importing other members (#24909) --- tests/specs/compile/workspace/subtract/mod.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/specs/compile/workspace/subtract/mod.ts (limited to 'tests/specs/compile/workspace/subtract/mod.ts') diff --git a/tests/specs/compile/workspace/subtract/mod.ts b/tests/specs/compile/workspace/subtract/mod.ts new file mode 100644 index 000000000..3d8ba39af --- /dev/null +++ b/tests/specs/compile/workspace/subtract/mod.ts @@ -0,0 +1,5 @@ +import { add } from "@david/add"; + +export function subtract(a: number, b: number): number { + return add(a, -b); +} -- cgit v1.2.3