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:
2
apps/desktop/desktop_native/napi/index.d.ts
vendored
2
apps/desktop/desktop_native/napi/index.d.ts
vendored
@@ -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
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user