File size: 352 Bytes
80ce16c
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { Key } from "./Key";

/**
 * Represents the return of a key-related operation that may or may not have
 * been completed.
 *
 * @see https://msdn.microsoft.com/en-us/library/dn302314(v=vs.85).aspx
 */
export interface KeyOperation {
  oncomplete: (event: Event) => void;
  onerror: (event: Event) => void;
  readonly result: Key | undefined;
}