Skip to content

Commit

Permalink
Use typescript isolatedDeclarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Jan 4, 2025
1 parent 245eda4 commit 0f74ca2
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 185 deletions.
4 changes: 2 additions & 2 deletions src/debugger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function wrap(s: string, padding: number = 0) {
return `${s}${reset}...`;
}

export function table(data: any[]) {
export function table(data: any[]): void {
let res: string[] = [];
const str = (v: any) => (v === undefined ? '' : '' + v);
const pad = (s: string, width: number) =>
Expand Down Expand Up @@ -260,7 +260,7 @@ export function diff(
actual: string | P.Bytes,
expected: string | P.Bytes,
skipSame = true
) {
): void {
// @ts-ignore
console.log('==== DIFF ====');
const [_actual, _expected] = [actual, expected].map((i) => getMap(coder, i)) as [
Expand Down
Loading

0 comments on commit 0f74ca2

Please sign in to comment.