chore: force type of backbone models id:string

pull/3052/head
Audric Ackermann 1 year ago
parent d282875ac0
commit 23a0fd6b3a

@ -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;
Loading…
Cancel
Save