change visibility specifier for extend

Fixes https://github.com/DefinitelyTyped/DefinitelyTyped/issues/6922
This commit is contained in:
ashwinr
2017-08-21 17:56:39 -04:00
committed by GitHub
parent 7fd1ce3eeb
commit eda85a39de

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;