mirror of
https://github.com/iptv-org/iptv
synced 2026-10-24 11:58:35 -04:00
Replace LF with CRLF
This commit is contained in:
1 parent
4861c60b74
commit
60fde4cc8c
30 files changed
+3590
-3588
No files matched your search
@@ -1,10 +1,10 @@
|
||||
export default class NumberParser {
|
||||
async parse(number: string) {
|
||||
const parsed = parseInt(number)
|
||||
if (isNaN(parsed)) {
|
||||
throw new Error('numberParser:parse() Input value is not a number')
|
||||
}
|
||||
|
||||
return parsed
|
||||
}
|
||||
}
|
||||
export default class NumberParser {
|
||||
async parse(number: string) {
|
||||
const parsed = parseInt(number)
|
||||
if (isNaN(parsed)) {
|
||||
throw new Error('numberParser:parse() Input value is not a number')
|
||||
}
|
||||
|
||||
return parsed
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user