lint 수정
This commit is contained in:
@@ -10,8 +10,9 @@ export function APIPathGen<T extends object, V>(
|
||||
throw new Error('Symbol is not supported');
|
||||
}
|
||||
|
||||
if(map.has(key)){
|
||||
return map.get(key)!;
|
||||
const cachedResult = map.get(key);
|
||||
if(cachedResult !== undefined){
|
||||
return cachedResult;
|
||||
}
|
||||
|
||||
const nextPath = [...path, key];
|
||||
|
||||
Reference in New Issue
Block a user