Skip to content

Commit bcea9ba

Browse files
committed
test: simplify test definitions
1 parent a45f1d1 commit bcea9ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { Base } from ".";
22

3-
const fooPlugin = (test: Base): { foo(): "foo" } => {
3+
const fooPlugin = (test: Base) => {
44
console.log("plugin evalutes");
55

66
return {
77
foo: () => "foo"
88
};
99
};
10-
const barPlugin = (test: Base): { bar(): "bar" } => {
10+
const barPlugin = (test: Base) => {
1111
console.log("plugin evalutes");
1212

1313
return {

0 commit comments

Comments
 (0)