mirror of
https://github.com/expo/eas-cli.git
synced 2026-11-15 17:31:46 -10:00
16 lines
438 B
TypeScript
16 lines
438 B
TypeScript
declare module 'keychain' {
|
|
interface Options {
|
|
account: string;
|
|
service: string;
|
|
type: string;
|
|
}
|
|
|
|
interface OptionsWitPassword extends Options {
|
|
password: string;
|
|
}
|
|
|
|
function getPassword(opts: Options, cb: (err: Error, password: string) => void): void;
|
|
function setPassword(opts: OptionsWitPassword, cb: (err: Error) => void): void;
|
|
function deletePassword(opts: Options, cb: (err: Error) => void): void;
|
|
}
|