diff --git a/crates/bitwarden-napi/src-ts/bitwarden_client/index.ts b/crates/bitwarden-napi/src-ts/bitwarden_client/index.ts index 3a3765a12..2e0fa63cc 100644 --- a/crates/bitwarden-napi/src-ts/bitwarden_client/index.ts +++ b/crates/bitwarden-napi/src-ts/bitwarden_client/index.ts @@ -1,5 +1,5 @@ -import * as rust from "../../binding"; -import { LogLevel } from "../../binding"; +import * as rust from '../../binding'; +import { LogLevel } from '../../binding'; import { Convert, ClientSettings, @@ -11,7 +11,7 @@ import { SecretsDeleteResponse, SecretsResponse, SecretsSyncResponse, -} from "./schemas"; +} from './schemas'; function handleResponse(response: { success: boolean; @@ -19,11 +19,11 @@ function handleResponse(response: { data?: T | null; }): T { if (!response.success) { - throw new Error(response.errorMessage || ""); + throw new Error(response.errorMessage || ''); } if (response.data === null) { - throw new Error(response.errorMessage || "SDK response data is null"); + throw new Error(response.errorMessage || 'SDK response data is null'); } return response.data as T; diff --git a/crates/bitwarden-napi/src-ts/index.ts b/crates/bitwarden-napi/src-ts/index.ts index 36b0649ed..f0bcb892b 100644 --- a/crates/bitwarden-napi/src-ts/index.ts +++ b/crates/bitwarden-napi/src-ts/index.ts @@ -1,3 +1,3 @@ -export * from "./bitwarden_client/index"; -export * from "./bitwarden_client/schemas"; -export { LogLevel } from "../binding"; +export * from './bitwarden_client/index'; +export * from './bitwarden_client/schemas'; +export { LogLevel } from '../binding';