Skip to content

Commit

Permalink
fix(types): Remove @types/jquery from devDependencies, upgrade @types…
Browse files Browse the repository at this point in the history
…/angular
  • Loading branch information
christopherthielen committed Jan 29, 2019
1 parent 1b116e1 commit b12bc84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"@types/angular-animate": "^1.5.10",
"@types/angular-mocks": "^1.7.0",
"@types/jasmine": "^3.3.5",
"@types/jquery": "^3.3.29",
"@uirouter/publish-scripts": "^2.3.24",
"dts-downlevel": "^0.3.0",
"fork-ts-checker-webpack-plugin": "^0.5.2",
Expand Down
3 changes: 1 addition & 2 deletions src/directives/stateDirectives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import {
UIRouter,
} from '@uirouter/core';
import { UIViewData } from './viewDirective';
import EventHandler = JQuery.EventHandler;

/** @hidden Used for typedoc */
export interface ng1_directive {} // tslint:disable-line:class-name
Expand Down Expand Up @@ -124,7 +123,7 @@ function defaultOpts(el: IAugmentedJQuery, $state: StateService) {
}

/** @hidden */
function bindEvents(element: IAugmentedJQuery, scope: IScope, hookFn: EventHandler<any>, uiStateOpts: any): void {
function bindEvents(element: IAugmentedJQuery, scope: IScope, hookFn: EventListener, uiStateOpts: any): void {
let events;

if (uiStateOpts) {
Expand Down
20 changes: 2 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@
dependencies:
"@types/angular" "*"

"@types/angular@*":
version "1.6.25"
resolved "https://registry.yarnpkg.com/@types/angular/-/angular-1.6.25.tgz#d403e94b40e06af3d9b76da5031795a9b929d08a"

"@types/angular@1.6.53":
"@types/angular@*", "@types/angular@1.6.53":
version "1.6.53"
resolved "https://registry.yarnpkg.com/@types/angular/-/angular-1.6.53.tgz#0c73ce13ff245e0b9ad23bf0091f3de572d4de87"
integrity sha512-46op53S8hnDl9o6VOmMAXBv3laK8i2OyXOfriDwe6VRfh8wVFilIniLaNsz2pPpAM4oUwsBYFt7ZThe+IMnIeA==
Expand Down Expand Up @@ -73,13 +69,6 @@
resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-3.3.5.tgz#3738ffbf34dffae9ecaac4503d7d969744f0e1d7"
integrity sha512-LJtc52O1PNUffMvH6Q3fS0BOhQWYlkh3SVu/Jc4GoPgJkUytk5Y6YPbw+6lZK2mWWvG62BtVyOFw0ih7r8STsw==

"@types/jquery@^3.3.29":
version "3.3.29"
resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.3.29.tgz#680a2219ce3c9250483722fccf5570d1e2d08abd"
integrity sha512-FhJvBninYD36v3k6c+bVk1DSZwh7B5Dpb/Pyk3HKVsiohn0nhbefZZ+3JXbWQhFyt0MxSl2jRDdGQPHeOHFXrQ==
dependencies:
"@types/sizzle" "*"

"@types/lodash@^4.14.110":
version "4.14.116"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.116.tgz#5ccf215653e3e8c786a58390751033a9adca0eb9"
Expand All @@ -103,12 +92,7 @@
"@types/glob" "*"
"@types/node" "*"

"@types/sizzle@*":
version "2.3.2"
resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.2.tgz#a811b8c18e2babab7d542b3365887ae2e4d9de47"
integrity sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg==

"@uirouter/core@^5.0.23":
"@uirouter/core@5.0.23":
version "5.0.23"
resolved "https://registry.yarnpkg.com/@uirouter/core/-/core-5.0.23.tgz#363b4bea635a1b48900dc7e65793a65a3b58a79e"
integrity sha512-rwFOH++z/KY8y+h0IOpQ5uC8Nim6E0EBCQrIjhVCr+XKYXgpK+VdtuOLFdogvbJ3AAi5Z7ei00qdEr7Did5CAg==
Expand Down

0 comments on commit b12bc84

Please sign in to comment.