Migrate to eslint flat config; update dependencies (#2627)

Co-authored-by: vee <vendicated@riseup.net>
This commit is contained in:
Aiden 2024-08-02 06:12:59 -04:00 committed by GitHub
parent d919cd6bf1
commit e99eec50bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 1652 additions and 1276 deletions

View file

@ -299,7 +299,7 @@ export const lazyWebpackSearchHistory = [] as Array<["find" | "findByProps" | "f
* Note that the example below exists already as an api, see {@link findByPropsLazy}
* @example const mod = proxyLazy(() => findByProps("blah")); console.log(mod.blah);
*/
export function proxyLazyWebpack<T = any>(factory: () => any, attempts?: number) {
export function proxyLazyWebpack<T = any>(factory: () => T, attempts?: number) {
if (IS_REPORTER) lazyWebpackSearchHistory.push(["proxyLazyWebpack", [factory]]);
return proxyLazy<T>(factory, attempts);