Skip to content

ES class support  #2479

@bobzhang

Description

@bobzhang

taken from #401, #149

The goal is to allow people to create es class in a type safe way, mostly code pattern as below:

function Set(data){
  this.data = data 
}
Set.prototype.toString = function(){
   return "" + this.data
}

inheritance support is a non-goal

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions