mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-23 06:21:34 +01:00
12 lines
378 B
TypeScript
12 lines
378 B
TypeScript
import { StockSymbols } from "./StockSymbols";
|
|
|
|
export const TickerHeaderFormatData = {
|
|
longestName: 0,
|
|
longestSymbol: 0,
|
|
};
|
|
|
|
for (const key in StockSymbols) {
|
|
TickerHeaderFormatData.longestName = Math.max(key.length, TickerHeaderFormatData.longestName);
|
|
TickerHeaderFormatData.longestSymbol = Math.max(StockSymbols[key].length, TickerHeaderFormatData.longestSymbol);
|
|
}
|