mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
1.2 KiB
Plaintext
27 lines
1.2 KiB
Plaintext
//// [tests/cases/conformance/es6/computedProperties/computedPropertyNamesOnOverloads_ES6.ts] ////
|
|
|
|
=== computedPropertyNamesOnOverloads_ES6.ts ===
|
|
var methodName = "method";
|
|
>methodName : Symbol(methodName, Decl(computedPropertyNamesOnOverloads_ES6.ts, 0, 3))
|
|
|
|
var accessorName = "accessor";
|
|
>accessorName : Symbol(accessorName, Decl(computedPropertyNamesOnOverloads_ES6.ts, 1, 3))
|
|
|
|
class C {
|
|
>C : Symbol(C, Decl(computedPropertyNamesOnOverloads_ES6.ts, 1, 30))
|
|
|
|
[methodName](v: string);
|
|
>[methodName] : Symbol(C[methodName], Decl(computedPropertyNamesOnOverloads_ES6.ts, 2, 9))
|
|
>methodName : Symbol(methodName, Decl(computedPropertyNamesOnOverloads_ES6.ts, 0, 3))
|
|
>v : Symbol(v, Decl(computedPropertyNamesOnOverloads_ES6.ts, 3, 17))
|
|
|
|
[methodName]();
|
|
>[methodName] : Symbol(C[methodName], Decl(computedPropertyNamesOnOverloads_ES6.ts, 3, 28))
|
|
>methodName : Symbol(methodName, Decl(computedPropertyNamesOnOverloads_ES6.ts, 0, 3))
|
|
|
|
[methodName](v?: string) { }
|
|
>[methodName] : Symbol(C[methodName], Decl(computedPropertyNamesOnOverloads_ES6.ts, 4, 19))
|
|
>methodName : Symbol(methodName, Decl(computedPropertyNamesOnOverloads_ES6.ts, 0, 3))
|
|
>v : Symbol(v, Decl(computedPropertyNamesOnOverloads_ES6.ts, 5, 17))
|
|
}
|