modify d.ts, modify function name
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
register_module!(example, init);
|
||||
|
||||
fn init(module: &mut Module) -> Result<()> {
|
||||
module.create_named_method("diff", diff_char)?;
|
||||
module.create_named_method("diffChars", diff_char)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user