Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fission/src/mirabuf/ScoringZoneSceneObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ScoringZoneSceneObject extends ZoneSceneObject<ScoringZonePreferences> {
)
}

public update(): void {
public override update(): void {
if (this.parentBodyId && this.deltaTransformation && this.joltBodyId && this.prefs) {
super.update()

Expand Down
2 changes: 1 addition & 1 deletion fission/src/systems/EventSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type EventKeyWithoutValue = Exclude<EventKey, EventKeyWithValue>

class CustomEvent<K extends EventKey, T extends EventDataMap[K]> extends Event {
public readonly data: T
public readonly type: K
public override readonly type: K
public constructor(event: K, data: T) {
super(event)
this.type = event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ abstract class EncoderStimulus extends Stimulus {
super(id, info)
}

public abstract update(deltaT: number): void
public abstract override update(deltaT: number): void
}

export default EncoderStimulus
2 changes: 1 addition & 1 deletion fission/src/systems/simulation/wpilib_brain/SimOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export abstract class SimOutputGroup extends SimOutput {
this.type = type
}

public abstract update(deltaT: number): void
public abstract override update(deltaT: number): void
}

export class PWMOutputGroup extends SimOutputGroup {
Expand Down
6 changes: 6 additions & 0 deletions fission/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"composite": true,
"types": ["vite-plugin-glsl/ext"]
},
Expand Down
Loading