File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,21 +15,21 @@ import { Base } from "javascript-plugin-architecture-with-typescript-definitions
15
15
16
16
function myFooPlugin(instance : Base ) {
17
17
return {
18
- foo : () => " foo"
18
+ foo : () => " foo" ,
19
19
};
20
20
}
21
21
22
22
function myBarPlugin(instance : Base ) {
23
23
return {
24
- bar : () => " bar"
24
+ bar : () => " bar" ,
25
25
};
26
26
}
27
27
28
28
const FooTest = Base .plugin (myFooPlugin );
29
29
const fooTest = new FooTest ();
30
30
fooTest .foo (); // has full TypeScript intellisense
31
31
32
- const FooBarTest = Base .plugin ([ myFooPlugin , myBarPlugin ] );
32
+ const FooBarTest = Base .plugin (myFooPlugin , myBarPlugin );
33
33
const fooBarTest = new FooBarTest ();
34
34
fooBarTest .foo (); // has full TypeScript intellisense
35
35
fooBarTest .bar (); // has full TypeScript intellisense
You can’t perform that action at this time.
0 commit comments