method Repository.prototype.findOneOrFailRe-exportimport { Repository } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts"; findOneOrFail(id?: | string | number | Date | ObjectID, options?: FindOneOptions<Entity>): Promise<Entity>Finds first entity that matches given options. findOneOrFail(options?: FindOneOptions<Entity>): Promise<Entity>Finds first entity that matches given options. findOneOrFail(conditions?: FindConditions<Entity>, options?: FindOneOptions<Entity>): Promise<Entity>Finds first entity that matches given conditions. Finds first entity that matches given options. Parametersoptionalid: | string | number | Date | ObjectIDoptionaloptions: FindOneOptions<Entity>ReturnsPromise<Entity>Finds first entity that matches given options. Parametersoptionaloptions: FindOneOptions<Entity>ReturnsPromise<Entity>Finds first entity that matches given conditions. Parametersoptionalconditions: FindConditions<Entity>optionaloptions: FindOneOptions<Entity>ReturnsPromise<Entity>