Skip to content

Commit 46644b7

Browse files
committed
Fix CI
1 parent 0afb8c4 commit 46644b7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/main/atom/utils/ts.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main/atom/views/highlightComponent.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/main/atom/utils/ts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function isLocationInRange(loc: Location, range: {start: Location; end: L
6161

6262
export async function getProjectCodeSettings(configFile: string): Promise<FormatCodeSettings> {
6363
const {config} = await tsconfig.load(configFile)
64-
const options = config.formatCodeOptions
64+
const options = (config as {formatCodeOptions: FormatCodeSettings}).formatCodeOptions
6565

6666
return {
6767
indentSize: atom.config.get("editor.tabLength"),

lib/main/atom/views/highlightComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function highlightMatches(name: string, query: string): QueryMatch[] {
5252
let matchedChars: string[] = [] // Build up a set of matched chars to be more semantic
5353
const queryMatches: QueryMatch[] = []
5454

55-
const matches: number[] = match(name, query)
55+
const matches: number[] = match(name, query) as number[]
5656
let matchIndex: number
5757
for (matchIndex of matches) {
5858
if (matchIndex < 0) {

0 commit comments

Comments
 (0)