Skip to content

Commit ef9baaa

Browse files
committed
types
1 parent 5392836 commit ef9baaa

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/compass-e2e-tests/helpers/compass.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ interface Coverage {
116116

117117
interface RenderLogEntry {
118118
timestamp: string;
119-
type: any;
119+
type: string;
120120
text: string;
121121
args: unknown;
122122
}
@@ -173,10 +173,7 @@ export class Compass {
173173
const pages = await puppeteerBrowser.pages();
174174
const page = pages[0];
175175

176-
// TS infers the type of `message` correctly here, which would conflict with
177-
// what we get from `import type { ConsoleMessage } from 'puppeteer'`, so we
178-
// leave out an explicit type annotation.
179-
page.on('console', (message: any) => {
176+
page.on('console', (message) => {
180177
const run = async () => {
181178
// human and machine readable, always UTC
182179
const timestamp = new Date().toISOString();

packages/hadron-build/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22
exports = function () {};
33

4+
exports.info = require('./commands/info');
45
exports.release = require('./commands/release');
56
exports.upload = require('./commands/upload');
67
exports.download = require('./commands/download');

0 commit comments

Comments
 (0)