Skip to content

Commit

Permalink
fix: compile errors
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew den Hertog <[email protected]>
  • Loading branch information
andrewhertog committed Sep 4, 2024
1 parent 402091f commit d73f475
Show file tree
Hide file tree
Showing 7 changed files with 277 additions and 276 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@
]
},
"scripts": {
"vscode:prepublish": "npm run build:ci && npm run compile",
"vscode:prepublish": "npm run build:webviews && npm run compile",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ export function searchParallelVerses(translationPairsIndex: MiniSearch, sourceBi

// Get source content from sourceBibleIndex
const sourceResult = sourceBibleIndex.getStoredFields(result.vref);
const sourceContent = sourceResult ? sourceResult.content : '';

const sourceContent = sourceResult ? sourceResult.content as string : '';
return {
vref: result.vref,
sourceVerse: {
Expand Down
1 change: 1 addition & 0 deletions src/tsServer/spellCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ export class SpellChecker {
// FIXME: this should be an image hash
return word.split('').reduce((acc, char) => acc + char.charCodeAt(0), 0).toString();
}
}

export class SpellCheckDiagnosticsProvider {
private spellChecker: SpellChecker;
Expand Down
14 changes: 7 additions & 7 deletions webviews/usfm-viewer/build/assets/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webviews/usfm-viewer/build/assets/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d73f475

Please sign in to comment.