Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Compile more tutorials #193

Merged
merged 3 commits into from
May 30, 2024
Merged

[Docs] Compile more tutorials #193

merged 3 commits into from
May 30, 2024

Conversation

hinthornw
Copy link
Contributor

Couple of the RAG ones. Fixup, check types, etc.

@@ -40,7 +40,7 @@ def compile_ts_code(ts_code: str, tsconfig_options: list) -> str:
temp_file_path = "temp.ts"
with open(temp_file_path, "w") as f:
f.write(ts_code)
cmd = ["npx", "tsc", temp_file_path] + tsconfig_options
cmd = ["npx", "tsc", temp_file_path] + tsconfig_options + ["--skipLibCheck"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so it stops raising errors when i import cheerio ; maybe something to do with esm module vs nodenext vs idc

@hinthornw hinthornw merged commit c17925d into main May 30, 2024
9 checks passed
@hinthornw hinthornw deleted the wfh/more_tutorials_tsc branch May 30, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant