Update deps 2019 09 (#439)
* update minor deps * update minor deps * update major deps * fix eslint warnings
This commit is contained in:
@@ -207,7 +207,6 @@ export const removeComment = (id: Comment['id']) =>
|
||||
export const removeMyComment = (id: Comment['id']): Promise<void> =>
|
||||
fetcher.put({
|
||||
url: `/comment/${id}?url=${url}`,
|
||||
// eslint-disable-next-line @typescript-eslint/no-object-literal-type-assertion
|
||||
body: {
|
||||
delete: true,
|
||||
} as object,
|
||||
|
||||
@@ -5,7 +5,7 @@ if (!Element.prototype.matches) {
|
||||
|
||||
if (!Element.prototype.closest) {
|
||||
Element.prototype.closest = function(s: string) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-this-alias
|
||||
let el: any = this;
|
||||
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user