summaryrefslogtreecommitdiff
path: root/tests/specs/publish/byonm_dep/mod.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-04-11 19:52:35 -0400
committerGitHub <noreply@github.com>2024-04-11 23:52:35 +0000
commit98077e4b3ce5bf3fd7378d0c2b711fcd97bcc143 (patch)
tree2d0689ceba26bef59b74a4df72d275d94e9d4c08 /tests/specs/publish/byonm_dep/mod.ts
parentf358ae627843182fb6aad69dae74f6d29788956b (diff)
fix(publish): do not warn about excluded external modules in node_modules directory (#23173)
Diffstat (limited to 'tests/specs/publish/byonm_dep/mod.ts')
-rw-r--r--tests/specs/publish/byonm_dep/mod.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/specs/publish/byonm_dep/mod.ts b/tests/specs/publish/byonm_dep/mod.ts
new file mode 100644
index 000000000..b7c276fd4
--- /dev/null
+++ b/tests/specs/publish/byonm_dep/mod.ts
@@ -0,0 +1,7 @@
+import { add } from "package";
+
+export function myAdd(a: number, b: number): number {
+ return add(a, b);
+}
+
+export { add };