-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
js: Add type templates #62
Conversation
8cb7cd9
to
c3e54a2
Compare
4beca9d
to
f0d09e8
Compare
Open source reviewbiome Javascript/Typescript formatter Main advantage over prettier, biome can remove unused imports.
|
2082dc0
to
3ce926a
Compare
Don't merge, waiting for Jonas to review |
{% else -%} | ||
{# technically a compiler error :) #} | ||
compile_error!("{{ type.kind }} types are not supported by this codegen template"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-paste from Rust, I'd rather not have it like this. Although if there's a TS equivalent, would be nice to add.
{% else -%} | |
{# technically a compiler error :) #} | |
compile_error!("{{ type.kind }} types are not supported by this codegen template"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still technically a compiler error :)
src/example.ts:1:1 - error TS2304: Cannot find name 'compile_error'.
1 compile_error!("{{ type.kind }} types are not supported by this codegen template");
~~~~~~~~~~~~~
d60b94d
to
3eb1c47
Compare
Co-authored-by: Mendy Man <mman@svix.com>
Co-authored-by: Mendy Man <mman@svix.com>
3eb1c47
to
139e119
Compare
almost working. I've explained @svix-lucho the state of things so this can be finished while I'm away.
Reflected in svix/svix-webhooks#1700.