Skip to content

Commit d09f1d3

Browse files
authored
Fix backbone test for TS 6.0 (DefinitelyTyped#74428)
1 parent 2f42610 commit d09f1d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/backbone/backbone-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class Book extends Backbone.Model {
225225
class Library extends Backbone.Collection<Book> {
226226
// This model definition is here only to test type compatibility of the model, but it
227227
// is not necessary in working code as it is automatically inferred through generics.
228-
model: typeof Book;
228+
declare model: typeof Book;
229229

230230
constructor(models?: Book[] | Array<Record<string, any>>, options?: any) {
231231
super(models, options);

0 commit comments

Comments
 (0)