From eda85a39deba3fc7b8ea388473d3e6a5f333349d Mon Sep 17 00:00:00 2001 From: ashwinr Date: Mon, 21 Aug 2017 17:56:39 -0400 Subject: [PATCH] change visibility specifier for extend Fixes https://github.com/DefinitelyTyped/DefinitelyTyped/issues/6922 --- types/backbone/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/backbone/index.d.ts b/types/backbone/index.d.ts index 48e5b2bea0..806086943e 100644 --- a/types/backbone/index.d.ts +++ b/types/backbone/index.d.ts @@ -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); initialize(options?: ViewOptions): void;