-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IMPLEMENT GET SET similar c# "NOT DUPLICATE" #18984
Comments
Hey, thanks for filing, but this seems to be a duplicate of #10911 In the future using the issue tracker's search functionality can make it easier for us to triage issues. Thanks! |
That applies to decorators who yes is a useless implementation does not make sense even by how decorator the expression is simple "public name {get; set;}" example is decorators "@get public name" |
Where in the typescrypt compiler is the class counter in the typescrypt core so I can commit it and you see it's simple #typescrypt. class Car { } javascript example var Car = function (...) { Car.prototype.name = null; } |
public name {get; set;} not is function !!! default ->> |
or public name {get:string;set:any} |
already discussed in #7628 mate..
the nearest that even got votes from the contributors is this #2763 where it considered its translation, compatibility and benefit towards .JS. |
I'm just sorry |
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed. |
class Car{
public name {get; set; }
public marca {get; set;}
}
var c = new Car();
c.name = "fusca"; //SET
console.log(c.name); //GET
In case the compiler only needs to remove the
{get; set;} and set a common variable what do they think?
The text was updated successfully, but these errors were encountered: