/*! * V4Fire Core * https://github.com/V4Fire/Core * * Released under the MIT license * https://github.com/V4Fire/Core/blob/master/LICENSE */ import SyncPromise from 'core/prelude/structures/sync-promise'; export class Option extends SyncPromise implements Maybe { readonly type: Maybe['type'] = 'Maybe'; } export class Result extends SyncPromise implements Either { readonly type: Either['type'] = 'Either'; }