Skip to content

Commit

Permalink
Merge 9440a8d into 62ad20c
Browse files Browse the repository at this point in the history
  • Loading branch information
HalidOdat authored Aug 12, 2021
2 parents 62ad20c + 9440a8d commit 449d9b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions boa/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ pub mod bytecompiler;
#[cfg(feature = "vm")]
pub mod vm;

/// A convenience module that re-exports the most commonly-used Boa APIs
pub mod prelude {
pub use crate::{
object::GcObject as JsObject, Context, JsBigInt, JsString, JsValue, Result as JsResult,
};
}

use std::result::Result as StdResult;

pub(crate) use crate::{exec::Executable, profiler::BoaProfiler};
Expand Down

0 comments on commit 449d9b3

Please sign in to comment.