Function write_file_sync

Source
pub fn write_file_sync(
    path: &str,
    data: JsValue,
    options: Object,
) -> Result<(), JsValue>