Skip to content

Commit

Permalink
[WIP] Type error
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Jan 3, 2024
1 parent 2f9f8b8 commit 92376c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/brioche/runtime/src/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as ts from "typescript";
import { TS_CONFIG, DEFAULT_LIB_URL, toTsUrl, fromTsUrl, readFile, fileExists, resolveModule } from "./tscommon.ts";

export function check(files: string[]): Diagnostic[] {
const x = 1 + [];
const firstFile = files.at(0);
const workingDir = firstFile != null ? firstFile.split("/").slice(0, -1).join("/") : "file:///";

Expand Down

0 comments on commit 92376c4

Please sign in to comment.