Skip to content

Commit

Permalink
fix: do not export Buffer type
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Aug 2, 2023
1 parent e83ceb3 commit 14952d1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
* This was copy/paste/modified/tested from https://npm.im/notp (MIT)
*/
import * as crypto from 'crypto'
/**
* @typedef {import('buffer').Buffer} Buffer
*/

/**
* @type {{ encode: (data: string | Buffer) => string, decode: (data: string) => Buffer }}
* @type {{ encode: (data: string | import('buffer').Buffer) => string, decode: (data: string) => import('buffer').Buffer }}
*/
import * as base32 from 'thirty-two'

Expand Down

0 comments on commit 14952d1

Please sign in to comment.