-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Fix escaping table names and fields #506
Conversation
I think this is all working in |
I think that should do it. I've tested with the horrific example in #505 and it passes perfectly with both |
Requesting review from @kristiandupont |
typeDefinition: string[]; | ||
exportAs: "named" | "default"; | ||
}; | ||
|
||
export type InterfacePropertyDeclaration = { | ||
export type InterfacePropertyDeclaration = DeclarationBase & { |
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.
The reason I didn't do this is that you can't add a prop declaration directly to a file. But it's a semantic difference, this is fine.
@@ -0,0 +1,5 @@ | |||
/** Used for comment text. */ | |||
const escapeComment = (name: string): string => |
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.
Nice! I had thought of this but not needed it thus far :-)
Wow, you put a lot of work into this and managed to stay true to my weird conventions and patterns, that's impressive! Thank you! |
Both packages are published |
Thank you for reviewing, approving, merging and releasing so fast! This is a huge help :) Have a brilliant weekend. |
Fixes #505