Refactor and fix type errors in WI and script modules (#4123)
* remove unnecessary arg passage from WI helper funcs * remove some typescript red from script.js * hide in shame * Add JSDoc to helper functions * Fix fav_ch_checked not updating * Move PWA mode match to firstLoadInit * Fix more type errors and deprecations * Fix the rest of type errors in script.js --------- Co-authored-by: RossAscends <124905043+RossAscends@users.noreply.github.com>
This commit is contained in:
Vendored
+5
@@ -30,6 +30,11 @@ declare global {
|
||||
izoomify(options?: any): JQuery;
|
||||
}
|
||||
|
||||
// NPM package doesn't have the 'queue' property in the type definition
|
||||
interface JQueryTransitOptions {
|
||||
queue?: boolean;
|
||||
}
|
||||
|
||||
namespace Select2 {
|
||||
interface Options<Result = DataFormat | GroupedDataFormat, RemoteResult = any> {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user