class Ok implements Result<T>import { Ok } from "https://deno.land/x/resulty@0.4.0/src/result.ts"; ConstructorsnewOk(state: T)Type ParametersTPropertiesreadonlystate: TMethodsexpect(message: string): TexpectErr(message: string): voidisError(): this is Err<T>isOk(): this is Ok<T>unwrap(): TunwrapErr(): void