Skip to content

Commit

Permalink
fix: import jquery typings (#281)
Browse files Browse the repository at this point in the history
* fix: import jquery typings

* fix: import jquery typings using triple-slash directives
  • Loading branch information
nd0ut authored Oct 26, 2021
1 parent 23c6832 commit b40b6cc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@
"rollup-plugin-terser": "7.0.2",
"shipjs": "0.23.1",
"typescript": "4.2.3",
"uploadcare-widget-tab-effects": "1.4.7"
"uploadcare-widget-tab-effects": "1.4.7",
"@types/jquery-deferred": "^0.3.0"
},
"jest": {
"setupFiles": [
Expand Down
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference types="@types/jquery-deferred" />
import { Ref, RefForwardingComponent } from 'react';
import JQuery = require('jquery');

Expand Down

0 comments on commit b40b6cc

Please sign in to comment.