Skip to main content

typescript_declarations

Function typescript_declarations 

Source
pub fn typescript_declarations(definitions: &Definitions) -> String
Expand description

One export type declaration per definition, in the order the definitions were reached. The types describe the values a document holds once it has been validated: an object that is not closed has an index signature, and a field that may be absent is optional.