Skip to content

Commit

Permalink
Place .d.cts files in types/
Browse files Browse the repository at this point in the history
This is both tidier and ensures they're included in the package. Also rename the import in main.d.cts.
  • Loading branch information
novemberborn committed May 29, 2022
1 parent 7ed3a5a commit f815557
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions index.d.cts

This file was deleted.

1 change: 0 additions & 1 deletion plugin.d.cts

This file was deleted.

3 changes: 3 additions & 0 deletions types/main.d.cts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// FIXME: Self-refencing "ava" should work, but seems to fail.
import test from "../index.js";
export = test
2 changes: 2 additions & 0 deletions types/plugin.d.cts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// FIXME: Self-refencing "ava/plugin" should work, but seems to fail.
export * from "../plugin.js";

0 comments on commit f815557

Please sign in to comment.