mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
remove boolean helpers class
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export class BooleanHelpers {
|
||||
public static parseBool(value: string, defaultValue: boolean): boolean {
|
||||
export const BooleanHelpers = {
|
||||
parseBool: function(value: string | undefined, defaultValue: boolean) {
|
||||
if (value === undefined) {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user