mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-06 04:21:38 +00:00
Fix typescript errors and update packages (#561)
* Add @ts-expect errro * Fix store type * Add strictNullChecks * Remove confusing $layout alias * Update packages * Use save-exact * Update vitest
This commit is contained in:
@@ -78,6 +78,7 @@ PaxHeader.parse = function (buffer) {
|
||||
fieldValue = null;
|
||||
} else if (fieldValue.match(/^\d+$/) !== null) {
|
||||
// If it's a integer field, parse it as int
|
||||
// @ts-expect-error code wasn't written in TS
|
||||
fieldValue = parseInt(fieldValue);
|
||||
}
|
||||
// Don't parse float values since precision is lost
|
||||
|
||||
Reference in New Issue
Block a user