25 lines
310 B
Plaintext
25 lines
310 B
Plaintext
=== /a.js ===
|
|
class A {
|
|
>A : A
|
|
|
|
/**
|
|
* @param {object} [foo={}]
|
|
*/
|
|
m(foo = {}) {
|
|
>m : (foo?: object) => void
|
|
>foo : any
|
|
>{} : {}
|
|
|
|
/**
|
|
* @type object
|
|
*/
|
|
this.arguments = foo;
|
|
>this.arguments = foo : any
|
|
>this.arguments : any
|
|
>this : this
|
|
>arguments : any
|
|
>foo : any
|
|
}
|
|
}
|
|
|