1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-04 18:53:20 +00:00

Remove async to remove the error/warning

This commit is contained in:
Dmitry Yakimenko
2025-09-22 17:11:19 +02:00
parent 7bc254b512
commit 9704cf751d
2 changed files with 2 additions and 2 deletions

View File

@@ -231,7 +231,7 @@ export declare namespace chromium_importer {
export function getInstalledBrowsers(): Array<string>
export function getAvailableProfiles(browser: string): Array<ProfileInfo>
export function importLogins(browser: string, profileId: string): Promise<Array<LoginImportResult>>
export function configureWindowsCryptoService(adminExePath: string): Promise<void>
export function configureWindowsCryptoService(adminExePath: string): void
}
export declare namespace autotype {
export function getForegroundWindowTitle(): string

View File

@@ -969,7 +969,7 @@ pub mod chromium_importer {
}
#[napi]
pub async fn configure_windows_crypto_service(admin_exe_path: String) {
pub fn configure_windows_crypto_service(admin_exe_path: String) {
bitwarden_chromium_importer::chromium::configure_windows_crypto_service(&admin_exe_path)
}
}