Merge pull request #19224 from ashwinr/master

Change visibility specifier for extend in Backbone
This commit is contained in:
Daniel Rosenwasser
2017-08-22 10:11:01 -07:00
committed by GitHub
+4 -4
View File
@@ -111,7 +111,7 @@ declare namespace Backbone {
/**
* Do not use, prefer TypeScript's extend functionality.
**/
private static extend(properties: any, classProperties?: any): any;
public static extend(properties: any, classProperties?: any): any;
attributes: any;
changed: any[];
@@ -205,7 +205,7 @@ declare namespace Backbone {
/**
* Do not use, prefer TypeScript's extend functionality.
**/
private static extend(properties: any, classProperties?: any): any;
public static extend(properties: any, classProperties?: any): any;
model: new (...args:any[]) => TModel;
models: TModel[];
@@ -322,7 +322,7 @@ declare namespace Backbone {
/**
* Do not use, prefer TypeScript's extend functionality.
**/
private static extend(properties: any, classProperties?: any): any;
public static extend(properties: any, classProperties?: any): any;
/**
* Routes hash or a method returning the routes hash that maps URLs with parameters to methods on your Router.
@@ -388,7 +388,7 @@ declare namespace Backbone {
/**
* Do not use, prefer TypeScript's extend functionality.
**/
private static extend(properties: any, classProperties?: any): any;
public static extend(properties: any, classProperties?: any): any;
constructor(options?: ViewOptions<TModel>);
initialize(options?: ViewOptions<TModel>): void;