Lint & small changes
This commit is contained in:
parent
0c6d207967
commit
55238f59aa
21 changed files with 2522 additions and 423 deletions
|
|
@ -160,7 +160,11 @@ export function stateToParams(
|
|||
}
|
||||
|
||||
export function summarizeParams(queryString: string): string {
|
||||
const i18n = require('../i18n').default as { t: (key: string, opts?: Record<string, unknown>) => string };
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const i18n = require('../i18n').default as {
|
||||
t: (key: string, opts?: Record<string, unknown>) => string;
|
||||
};
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const { ts } = require('../i18n/server') as { ts: (v: string) => string };
|
||||
const params = new URLSearchParams(queryString);
|
||||
const parts: string[] = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue