Skip to content

Commit

Permalink
Mark all Switch.version properties as readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Jun 24, 2024
1 parent 54ff338 commit eebb963
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/light-seas-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nxjs-runtime": patch
---

Mark all `Switch.version` properties as `readonly`
24 changes: 12 additions & 12 deletions packages/runtime/src/switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ export interface Versions {
/**
* The version of the Atmosphère custom firmware running on the Switch, or `undefined` if not running Atmosphère.
*/
ams: string | undefined;
cairo: string;
readonly ams: string | undefined;
readonly cairo: string;
/**
* `true` if the Switch is running Atmosphère from emuMMC, `false` if running sysMMC, or `undefined` if not running Atmosphère.
*/
emummc: boolean | undefined;
freetype2: string;
harfbuzz: string;
hos: string;
nxjs: string;
png: string;
quickjs: string;
turbojpeg: string;
wasm3: string;
webp: string;
readonly emummc: boolean | undefined;
readonly freetype2: string;
readonly harfbuzz: string;
readonly hos: string;
readonly nxjs: string;
readonly png: string;
readonly quickjs: string;
readonly turbojpeg: string;
readonly wasm3: string;
readonly webp: string;
}

export interface Vibration {
Expand Down

0 comments on commit eebb963

Please sign in to comment.