Skip to content

Design Meeting Notes, 11/30/2016 #12622

@mhegazy

Description

@mhegazy

__extends and static methods / accessors

var __extendStatics = (this && this.__extendStatics) ||
    Object.setPrototypeOf || 
   ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 
   function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };

var __extends = (this && this.__extends) || function (d, b) {
   __extendStatics(d, b);
   function __() { this.constructor = d; }
   d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
  • What about the other side of the issue, emitting methods and accessors as enumrable: false?
    • we have to do it for --target ES5 and not --target ES3
    • if we do this we break the static inheritance for IE10,
    • concolusion:
      • wait on more feedback for this

Promise in lib.d.ts

Extensibility (@RyanCavanaugh)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Design NotesNotes from our design meetings

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions