Make dictionaries use their original text in js

This commit is contained in:
Richard Dodd
2019-01-07 14:15:00 +00:00
parent 1758c8d5af
commit 46d4330637
3 changed files with 12 additions and 12 deletions

View File

@ -262,7 +262,8 @@ pub struct Dictionary {
#[cfg_attr(feature = "extra-traits", derive(Debug, PartialEq, Eq))]
#[derive(Clone)]
pub struct DictionaryField {
pub name: Ident,
pub rust_name: Ident,
pub js_name: String,
pub required: bool,
pub ty: syn::Type,
}