mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-04 22:59:42 +02:00
fix nearly all lint errors now
This commit is contained in:
@@ -12,10 +12,7 @@ import {
|
||||
Generic_toJSON,
|
||||
Reviver,
|
||||
} from "../utils/JSONReviver";
|
||||
import { KEY } from "../utils/helpers/keyCodes";
|
||||
import { createElement } from "../utils/uiHelpers/createElement";
|
||||
import { createPopup, removePopup } from "./ui/React/createPopup";
|
||||
import { removeElementById } from "../utils/uiHelpers/removeElementById";
|
||||
import { CodingContractPopup } from "./ui/React/CodingContractPopup";
|
||||
|
||||
|
||||
@@ -174,7 +171,7 @@ export class CodingContract {
|
||||
*/
|
||||
async prompt(): Promise<CodingContractResult> {
|
||||
const popupId = `coding-contract-prompt-popup-${this.fn}`;
|
||||
return new Promise<CodingContractResult>((resolve, reject) => {
|
||||
return new Promise<CodingContractResult>((resolve) => {
|
||||
const popup = new CodingContractPopup({
|
||||
c: this,
|
||||
popupId: popupId,
|
||||
|
||||
Reference in New Issue
Block a user