Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: deniszholob/factorio-cheat-sheet
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5e004313c5dfd94bd0978f31238a3b276b3cc064
Choose a base ref
..
head repository: deniszholob/factorio-cheat-sheet
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ff29febf71e8a28113dc8cb4aaedc82a57eb2adc
Choose a head ref
3 changes: 2 additions & 1 deletion src/app/cheat-sheets/game-base/belts/belts.component.html
Original file line number Diff line number Diff line change
@@ -38,7 +38,8 @@
<tbody class="text-center">
<tr *ngFor="let item of sheetData?.belt_info">
<td>
<app-factorio-icon *ngFor="let iconId of item.icons" [icon]="dataService.getFactorioIcon(iconId)" [spaceAge]="item.spaceAge"> </app-factorio-icon>
<app-factorio-icon *ngFor="let iconId of item.icons" [icon]="dataService.getFactorioIcon(iconId)" [spaceAge]="item.spaceAge">
</app-factorio-icon>
</td>
<td>
{{ item.throughput | number : '1.0-3' }}
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ export class ModulesAndBeaconsComponent implements OnInit {
}

interface ThroughputCalc {
machinesToFillBelt: any;
machinesToFillBelt: number | string;
itemProductionRate: number;
recipeBaseCraftTime: number;
itemsPerCraft: number;
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ interface RocketCalcData {
}

interface LabsCalc {
labsRequired: any;
labsRequired: number | string;
packsPerMinute: number;
researchCycleTime: number;
labSpeedBonus: number;
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ import { StoryFnAngularReturnType } from '@storybook/angular/dist/client/types';

import { SpaceAgeComponent } from './space-age.component';

type ComponentWithCustomControls = SpaceAgeComponent & {};
type ComponentWithCustomControls = SpaceAgeComponent;

const meta: Meta<ComponentWithCustomControls> = {
// TODO: Make sure this title path is correct, uncomment tile, then remove this comment. OR remove both comment and title
2 changes: 1 addition & 1 deletion src/app/shared/ad-sense/ad-sense.component.ts
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ export class AdSenseComponent implements AfterViewInit, OnDestroy {
constructor(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@Inject(PLATFORM_ID)
private platform: any
private platform: object
) {}

ngOnDestroy(): void {
3 changes: 2 additions & 1 deletion src/app/shared/factorio-icon/factorio-icon.component.ts
Original file line number Diff line number Diff line change
@@ -3,7 +3,8 @@ import { Component, Input } from '@angular/core';

import { FactorioIcon } from './factorio-icon.model';

const SPACE_AGE_ICON = 'https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png';
const SPACE_AGE_ICON =
'https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png';
const SPACE_AGE_TEXT = 'Space Age Only';

@Component({