mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-01 13:27:08 +02:00
Remove some redundant typing
This commit is contained in:
@@ -2,10 +2,7 @@ import React, { useContext } from "react";
|
||||
import { Corporation } from "../Corporation";
|
||||
import { Industry } from "../Industry";
|
||||
|
||||
export const Context: {
|
||||
Corporation: React.Context<Corporation>;
|
||||
Division: React.Context<Industry>;
|
||||
} = {
|
||||
export const Context = {
|
||||
Corporation: React.createContext<Corporation>({} as Corporation),
|
||||
Division: React.createContext<Industry>({} as Industry),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user