Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
siefkenj committed Apr 10, 2024
1 parent 5a10a97 commit ad6ad8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tsify-next-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn declare_impl(
item: syn::Item,
) -> syn::Result<proc_macro2::TokenStream> {
match item {
syn::Item::Type(item) => type_alias::expend(item),
syn::Item::Type(item) => type_alias::expand(item),
syn::Item::Enum(item) => derive::expand_by_attr(args, item.into()),
syn::Item::Struct(item) => derive::expand_by_attr(args, item.into()),
_ => Err(syn::Error::new_spanned(
Expand Down
2 changes: 1 addition & 1 deletion tsify-next-macros/src/type_alias.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::{
typescript::TsType,
};

pub fn expend(item: syn::ItemType) -> syn::Result<TokenStream> {
pub fn expand(item: syn::ItemType) -> syn::Result<TokenStream> {
let ctxt = Ctxt::new();

let type_ann = TsType::from_syn_type(&TypeGenerationConfig::default(), item.ty.as_ref());
Expand Down

0 comments on commit ad6ad8b

Please sign in to comment.