mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
lint
This commit is contained in:
parent
3bccfb1de6
commit
5cbeae9353
@ -12,7 +12,7 @@ import {
|
|||||||
Stanek as IStanek,
|
Stanek as IStanek,
|
||||||
} from "../ScriptEditor/NetscriptDefinitions";
|
} from "../ScriptEditor/NetscriptDefinitions";
|
||||||
import { AugmentationNames } from "../Augmentation/data/AugmentationNames";
|
import { AugmentationNames } from "../Augmentation/data/AugmentationNames";
|
||||||
import { NetscriptContext, InternalAPI } from "src/Netscript/APIWrapper";
|
import { NetscriptContext, InternalAPI } from "../Netscript/APIWrapper";
|
||||||
|
|
||||||
export function NetscriptStanek(
|
export function NetscriptStanek(
|
||||||
player: IPlayer,
|
player: IPlayer,
|
||||||
@ -26,12 +26,12 @@ export function NetscriptStanek(
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
giftWidth: (_ctx: NetscriptContext) =>
|
giftWidth: () =>
|
||||||
function (): number {
|
function (): number {
|
||||||
checkStanekAPIAccess("giftWidth");
|
checkStanekAPIAccess("giftWidth");
|
||||||
return staneksGift.width();
|
return staneksGift.width();
|
||||||
},
|
},
|
||||||
giftHeight: (_ctx: NetscriptContext) =>
|
giftHeight: () =>
|
||||||
function (): number {
|
function (): number {
|
||||||
checkStanekAPIAccess("giftHeight");
|
checkStanekAPIAccess("giftHeight");
|
||||||
return staneksGift.height();
|
return staneksGift.height();
|
||||||
|
Loading…
Reference in New Issue
Block a user