Fix missing type
parent
0e2185addb
commit
4b14fe7d8a
|
@ -13,7 +13,7 @@ export default class PlatformDeno implements Platform {
|
|||
['run', '--allow-read', '--allow-net=httpbin.org', 'index-deno.js', file],
|
||||
{cwd: ctx.fixturesPath, stdio: ['pipe', 'pipe', 'inherit']},
|
||||
);
|
||||
const stdout = await new Promise((resolve, reject) => {
|
||||
const stdout = await new Promise<string>((resolve, reject) => {
|
||||
let stdout = '';
|
||||
child.stdout.on('data', (data) => {
|
||||
stdout += data;
|
||||
|
|
|
@ -7,6 +7,7 @@ export type ResultObject =
|
|||
export type Result = Record<string, Record<string, ResultObject>>;
|
||||
|
||||
export interface Context {
|
||||
fixturesPath: string;
|
||||
fixturesURL: string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue