1 | import { Bar } from './bar';
|
2 |
|
3 |
|
4 | export class Foo extends Bar {
|
5 |
|
6 | constructor(a, b, { c }) {
|
7 | super(a, c);
|
8 | }
|
9 |
|
10 | foo = (d) => {
|
11 |
|
12 | const blub = Blub.blub(...d);
|
13 |
|
14 | const foop = "Hello 'BLUB'";
|
15 |
|
16 | return {
|
17 | ...this.bar,
|
18 | blub,
|
19 | foop,
|
20 | d
|
21 | };
|
22 | }
|
23 |
|
24 | other = async (a) => {
|
25 | await this.b();
|
26 | }
|
27 |
|
28 | longArgFn(
|
29 | hello, world,
|
30 | wowo, wooooooooorld) {
|
31 |
|
32 | const a = {};
|
33 |
|
34 | const {
|
35 | c,
|
36 | d,
|
37 | ...rest
|
38 | } = a;
|
39 |
|
40 | return rest;
|
41 | }
|
42 |
|
43 | } |
\ | No newline at end of file |