diff --git a/patches/@types+backbone+1.4.2.patch b/patches/@types+backbone+1.4.2.patch new file mode 100644 index 000000000..6491b4554 --- /dev/null +++ b/patches/@types+backbone+1.4.2.patch @@ -0,0 +1,35 @@ +diff --git a/node_modules/@types/backbone/README.md b/node_modules/@types/backbone/README.md +deleted file mode 100644 +index b353b41..0000000 +--- a/node_modules/@types/backbone/README.md ++++ /dev/null +@@ -1,16 +0,0 @@ +-# Installation +-> `npm install --save @types/backbone` +- +-# Summary +-This package contains type definitions for Backbone (http://backbonejs.org/). +- +-# Details +-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/backbone. +- +-### Additional Details +- * Last updated: Thu, 30 Apr 2020 23:00:14 GMT +- * Dependencies: [@types/underscore](https://npmjs.com/package/@types/underscore), [@types/jquery](https://npmjs.com/package/@types/jquery) +- * Global values: `Backbone` +- +-# Credits +-These definitions were written by [Boris Yankov](https://github.com/borisyankov), [Natan Vivo](https://github.com/nvivo), [kenjiru](https://github.com/kenjiru), [jjoekoullas](https://github.com/jjoekoullas), [Julian Gonggrijp](https://github.com/jgonggrijp), [Kyle Scully](https://github.com/zieka), and [Robert Kesterson](https://github.com/rkesters). +diff --git a/node_modules/@types/backbone/index.d.ts b/node_modules/@types/backbone/index.d.ts +index da53a62..4db8b56 100644 +--- a/node_modules/@types/backbone/index.d.ts ++++ b/node_modules/@types/backbone/index.d.ts +@@ -225,7 +225,7 @@ declare namespace Backbone { + * That works only if you set it in the constructor or the initialize method. + **/ + defaults(): ObjectHash; +- id: any; ++ id: string; + idAttribute: string; + validationError: any; +