Skip to content

Commit

Permalink
fix: typescript definition for deleteValue
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgoitia committed Jul 6, 2022
1 parent b8c7ca2 commit 9ad8212
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions regedit.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ export function createKey<K extends string>(keys: readonly K[], architecture: Ar
export function deleteKey(keys: readonly string[], callback: ErrCallback): void;
export function deleteKey(keys: readonly string[], architecture: Architecture, callback?: ErrCallback): void;

export function deleteValue(keys: readonly string[], callback: ErrCallback): void;
export function deleteValue(keys: readonly string[], architecture: Architecture, callback?: ErrCallback): void;

export function putValue(map: RegistryItemPutCollection, callback: ErrCallback): void;
export function putValue(map: RegistryItemPutCollection, architecture: Architecture, callback?: ErrCallback): void;

Expand All @@ -181,6 +184,9 @@ export namespace arch {
export function deleteKey(keys: readonly string[], callback: ErrCallback): void;
export function deleteKey32(keys: readonly string[], callback: ErrCallback): void;
export function deleteKey64(keys: readonly string[], callback: ErrCallback): void;
export function deleteValue(keys: readonly string[], callback: ErrCallback): void;
export function deleteValue32(keys: readonly string[], callback: ErrCallback): void;
export function deleteValue64(keys: readonly string[], callback: ErrCallback): void;
export function putValue(map: RegistryItemPutCollection, callback: ErrCallback): void;
export function putValue32(map: RegistryItemPutCollection, callback: ErrCallback): void;
export function putValue64(map: RegistryItemPutCollection, callback: ErrCallback): void;
Expand All @@ -195,6 +201,8 @@ export namespace promisified {
export function createKey(keys: readonly string[], architecture: Architecture): Promise<void>;
export function deleteKey(keys: readonly string[]): Promise<void>;
export function deleteKey(keys: readonly string[], architecture: Architecture): Promise<void>;
export function deleteValue(keys: readonly string[]): Promise<void>;
export function deleteValue(keys: readonly string[], architecture: Architecture): Promise<void>;
export function putValue(map: RegistryItemPutCollection): Promise<void>;
export function putValue(map: RegistryItemPutCollection, architecture: Architecture): Promise<void>;

Expand All @@ -211,6 +219,9 @@ export namespace promisified {
export function deleteKey(keys: readonly string[]): Promise<void>;
export function deleteKey32(keys: readonly string[]): Promise<void>;
export function deleteKey64(keys: readonly string[]): Promise<void>;
export function deleteValue(keys: readonly string[]): Promise<void>;
export function deleteValue32(keys: readonly string[]): Promise<void>;
export function deleteValue64(keys: readonly string[]): Promise<void>;
export function putValue(map: RegistryItemPutCollection): Promise<void>;
export function putValue32(map: RegistryItemPutCollection): Promise<void>;
export function putValue64(map: RegistryItemPutCollection): Promise<void>;
Expand Down

0 comments on commit 9ad8212

Please sign in to comment.