chore(types): fix typing

This commit is contained in:
Jacob Heun
2020-07-18 12:44:23 +02:00
parent 989449664b
commit e2b4f41e9a
4 changed files with 5 additions and 6 deletions

View File

@ -6,7 +6,7 @@ const expect = chai.expect
// @ts-check
/**
* @type {function(any, string): void}
* @type {function(any, string): Promise<void>}
*/
const expectErrCode = async (p, code) => {
try {