Skip to content

Commit

Permalink
fix: oct key ts "k" type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Apr 27, 2019
1 parent e98afb4 commit 0750d2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export namespace JWK {

interface JWKOctKey extends KeyParameters {
kty: 'oct',
k: string
k?: string
}

interface JWKECKey extends KeyParameters {
Expand Down Expand Up @@ -118,7 +118,7 @@ export namespace JWK {
private: false
public: false
secret: true
k: string
k?: string

toJWK(private?: boolean): JWKOctKey
}
Expand Down

0 comments on commit 0750d2c

Please sign in to comment.