fix: type error

This commit is contained in:
monoid 2023-10-27 00:01:27 +09:00
parent 10324d5799
commit 1f83b6abf9
2 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@ function filterInfo(info: Coperation[], filterList: FilterInfoOption) {
const checkMap = new Map<string, boolean>();
for (const l of filterList.list) {
for (const i of l.items) {
checkMap.set(i.code, l.include);
checkMap.set(i.Code, l.include);
}
}
return info.filter((x) => {

View File

@ -18,8 +18,8 @@ export interface PageCorpsInfo {
}
export interface CorpSimple {
code: string;
name: string;
Code: string;
Name: string;
}
export async function fetchPageInfo(pageName: string): Promise<PageCorpsInfo>{