mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
d443beda5e
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]>
13 lines
610 B
Plaintext
13 lines
610 B
Plaintext
declarationEmitSetAccessorNoParameter.ts(2,7): error TS1049: A 'set' accessor must have exactly one parameter.
|
|
declarationEmitSetAccessorNoParameter.ts(2,7): error TS7032: Property 'foo' implicitly has type 'any', because its set accessor lacks a parameter type annotation.
|
|
|
|
|
|
==== declarationEmitSetAccessorNoParameter.ts (2 errors) ====
|
|
class C {
|
|
set foo() { }
|
|
~~~
|
|
!!! error TS1049: A 'set' accessor must have exactly one parameter.
|
|
~~~
|
|
!!! error TS7032: Property 'foo' implicitly has type 'any', because its set accessor lacks a parameter type annotation.
|
|
}
|
|
|