-
Notifications
You must be signed in to change notification settings - Fork 194
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
Missing features #104
Comments
Sounds good. Let me also mention that Vega-Lite would benefit from having support for conditionals so I am very much looking forward to having support for it. |
It seems that methods / function declarations are not exported. |
Yes, we intentionally don't support functions. See for some reasons why not: #98 |
Ok, that's clear, thank you for the quick response. |
@domoritz Is there a way for the schema generator to ignore the interfaces/types which have function definitions in them? I have one such interface and it is |
|
It would be nice to have the option to add schema |
@roper79 I agree having this natively would be a good thing. For your information though, I successfully achieved it by annotating types with |
I'm happy to review a pull request. |
What about Required? export interface Node = {
name?: string;
key?: string
// Many other properties
}
// force key to be required
export type Wrapper {
node: Omit<Node, 'key'> & Required<Pick<Node, 'key'>>;
} Workaround: export type Wrapper {
node: Omit<Node, 'key'> & {key: string}>;
} But this is not very nice in scale. |
An inventorization of features that are missing in this module (for #101).
There might be things that you (@domoritz) don't want to add, or that I missed some. If so, please tell me and I will add them to the list.
Missing features
Nice additions
NamespaceName.*
(YousefED#249)lib
compiler option to es2015 or later #103)The text was updated successfully, but these errors were encountered: