mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
remove/fix radix rule
This commit is contained in:
@@ -15,7 +15,7 @@ function optionalBoolean(e: Element, name: string): boolean | undefined {
|
||||
}
|
||||
|
||||
function requiredInt(e: Element, name: string): number {
|
||||
return parseInt(e.getAttribute(name) as string)
|
||||
return parseInt(e.getAttribute(name) as string, 10)
|
||||
}
|
||||
|
||||
function optionalInt(e: Element, name: string): number | undefined {
|
||||
|
||||
Reference in New Issue
Block a user