Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cde93cb to
10ec51b
Compare
10ec51b to
2514e41
Compare
tstirrat15
left a comment
There was a problem hiding this comment.
LGTM, has a test failure.
| const match = path.match(/\/examples\/schemas\/(.*)\/README\.md/); | ||
| return match ? match[1] : ""; | ||
| }) | ||
| .filter((name): name is string => { |
There was a problem hiding this comment.
WHAT! I didn't realize this was valid syntax
There was a problem hiding this comment.
i didn't know either (i don't know typescript), this was written by Claude 😆
https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates
|
Though I guess if |
cd5b3f4
True, i brought this because it makes the code easier to read (no more promises or async/awaits) The size of the playground is huge anyway, with the wasm stuff.. |
|
Mmm yeah. And we're a ways off of wanting to run |
I tried to bring the latest
examplesrepo and it failed to load because this example doesn't have theschema-and-data.yamlfile.