mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Fix type error
This commit is contained in:
4
pkcs11js/pkcs11js.d.ts
vendored
4
pkcs11js/pkcs11js.d.ts
vendored
@@ -210,7 +210,7 @@ declare module "pkcs11js" {
|
||||
* @param {Handle} slot ID of token's slot
|
||||
* @returns {Handle[]} Gets mech. array
|
||||
*/
|
||||
C_GetMechanismList(slot: Handle): Handle[];
|
||||
C_GetMechanismList(slot: Handle): number[];
|
||||
/**
|
||||
* Obtains information about a particular mechanism possibly supported by a token
|
||||
*
|
||||
@@ -218,7 +218,7 @@ declare module "pkcs11js" {
|
||||
* @param {Handle} mech Type of mechanism
|
||||
* @returns {MechanismInfo} Receives mechanism info
|
||||
*/
|
||||
C_GetMechanismInfo(slot: Handle, mech: Handle): MechanismInfo;
|
||||
C_GetMechanismInfo(slot: Handle, mech: number): MechanismInfo;
|
||||
|
||||
/* Session management */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user