use thiserror::Error;
use wasm_bindgen::prelude::Closure;
use wasm_bindgen::{JsValue};
#[allow(non_camel_case_types)]
type closure<Args> = Closure<dyn FnMut(Args)>;
pub mod app;
pub mod database;
#[derive(Debug, Error)]
pub enum FirebaseError {
#[error("No errors implemented yet!")]
UnimplementedErrorHandling,
#[error("Unhandled raw `JsValue`, this is the library maintainer's fault :)")]
RawJsValueError(JsValue),
}