- refactor array equality check and add tests - remove OperatingSystem.Unknown causing extra logic, return undefined instead - refactor enum validation to share same logic - refactor scripting language factories to share same logic - refactor too many args in runCodeAsync - refactor ScriptCode constructor to reduce complexity - fix writing useless write to member object since another property write always override it
14 lines
190 B
TypeScript
14 lines
190 B
TypeScript
export enum OperatingSystem {
|
|
macOS,
|
|
Windows,
|
|
Linux,
|
|
KaiOS,
|
|
ChromeOS,
|
|
BlackBerryOS,
|
|
BlackBerry,
|
|
BlackBerryTabletOS,
|
|
Android,
|
|
iOS,
|
|
WindowsPhone,
|
|
}
|