42 lines
622 B
Rust
42 lines
622 B
Rust
#![allow(dead_code)]
|
|
#![allow(unreachable_code)]
|
|
|
|
#[macro_use]
|
|
extern crate napi_derive;
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
|
|
#[napi]
|
|
/// This is a const
|
|
pub const DEFAULT_COST: u32 = 12;
|
|
|
|
#[napi(skip_typescript)]
|
|
pub const TYPE_SKIPPED_CONST: u32 = 12;
|
|
|
|
mod array;
|
|
mod r#async;
|
|
mod bigint;
|
|
mod callback;
|
|
mod class;
|
|
mod class_factory;
|
|
mod date;
|
|
mod either;
|
|
mod r#enum;
|
|
mod error;
|
|
mod external;
|
|
mod fn_strict;
|
|
mod fn_ts_override;
|
|
mod generator;
|
|
mod js_mod;
|
|
mod map;
|
|
mod nullable;
|
|
mod number;
|
|
mod object;
|
|
mod promise;
|
|
mod reference;
|
|
mod serde;
|
|
mod string;
|
|
mod symbol;
|
|
mod task;
|
|
mod threadsafe_function;
|
|
mod typed_array;
|