mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
CODEBASE: Expand lint rules, and Aliases are stored as maps (#501)
This commit is contained in:
@@ -24,13 +24,11 @@ interface IServerData {
|
||||
workerScripts: WorkerScript[];
|
||||
}
|
||||
|
||||
interface IServerToScriptsMap {
|
||||
[key: string]: IServerData | undefined;
|
||||
}
|
||||
type IServerToScriptsMap = Record<string, IServerData | undefined>;
|
||||
|
||||
type IProps = {
|
||||
interface IProps {
|
||||
workerScripts: Map<number, WorkerScript>;
|
||||
};
|
||||
}
|
||||
|
||||
export function ServerAccordions(props: IProps): React.ReactElement {
|
||||
const [filter, setFilter] = useState("");
|
||||
|
||||
Reference in New Issue
Block a user