mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-26 17:08:33 +01:00
36b7d30804
* Change everything to Uint8Array related to https://github.com/jestjs/jest/issues/14379 * Work on failing type tests * Revert changes to custom matcher setup * Remove last BufferArrays from tests * Fix custom matcher type errors in vscode * Remove errant `.buffer` calls on Uint8Arrays * Encryption Pair should serialize Array Buffer and Uint8Array * Fix EncArrayBuffer encryption --------- Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
16 lines
527 B
TypeScript
16 lines
527 B
TypeScript
import type { CustomMatchers } from "./test.setup";
|
|
|
|
// This declares the types for our custom matchers so that they're recognised by Typescript
|
|
// This file must also be included in the TS compilation (via the tsconfig.json "include" property) to be recognised by
|
|
// vscode
|
|
|
|
/* eslint-disable */
|
|
declare global {
|
|
namespace jest {
|
|
interface Expect extends CustomMatchers {}
|
|
interface Matchers<R> extends CustomMatchers<R> {}
|
|
interface InverseAsymmetricMatchers extends CustomMatchers {}
|
|
}
|
|
}
|
|
/* eslint-enable */
|