mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 19:14:32 +02:00
Removed unnecessary eslint-disable lines
This commit is contained in:
@@ -14,7 +14,6 @@ export function NetscriptPort(): IPort {
|
||||
const data: any[] = [];
|
||||
|
||||
return {
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
write: (value: any): any => {
|
||||
data.push(value);
|
||||
if (data.length > Settings.MaxPortCapacity) {
|
||||
@@ -23,7 +22,6 @@ export function NetscriptPort(): IPort {
|
||||
return null;
|
||||
},
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
tryWrite: (value: any): boolean => {
|
||||
if (data.length >= Settings.MaxPortCapacity) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user