Skip to content

Commit f815557

Browse files
committed
Place .d.cts files in types/
This is both tidier and ensures they're included in the package. Also rename the import in main.d.cts.
1 parent 7ed3a5a commit f815557

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

index.d.cts

Lines changed: 0 additions & 2 deletions
This file was deleted.

plugin.d.cts

Lines changed: 0 additions & 1 deletion
This file was deleted.

types/main.d.cts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// FIXME: Self-refencing "ava" should work, but seems to fail.
2+
import test from "../index.js";
3+
export = test

types/plugin.d.cts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// FIXME: Self-refencing "ava/plugin" should work, but seems to fail.
2+
export * from "../plugin.js";

0 commit comments

Comments
 (0)