Merge branch 'dev' into newDevTools

This commit is contained in:
sadan4 2024-08-30 16:04:45 -04:00 committed by GitHub
commit 7aa32e3d78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 126 additions and 38 deletions

View file

@ -49,6 +49,11 @@ export const moment: typeof import("moment") = findByPropsLazy("parseTwoDigitYea
export const hljs: typeof import("highlight.js") = findByPropsLazy("highlight", "registerLanguage");
export const { match, P }: Pick<typeof import("ts-pattern"), "match" | "P"> = mapMangledModuleLazy("@ts-pattern/matcher", {
match: filters.byCode("return new"),
P: filters.byProps("when")
});
export const lodash: typeof import("lodash") = findByPropsLazy("debounce", "cloneDeep");
export const i18n: t.i18n = findLazy(m => m.Messages?.["en-US"]);