message: Fix types error
diff: @@ -40,7 +40,7 @@ export class NeDBDataStore implements DataStore {
  private bridgeDomain: string,
  pkeyPath?: string) {
  const errLog = function(fieldName: string) {
  - return (err: Error) => {
  + return (err: Error|null) => {
  if (err) {
  log.error("Failed to ensure '%s' index on store: " + err, fieldName);
  return;
  @@ -107,7 +107,7 @@ export class NeDBDataStore implements DataStore {
  fieldName: "data.client_config." + domainKey + ".username",
  unique: true,
  sparse: true
  - }, (err: Error) => {
  + }, (err: Error|null) => {
  if (err) {
  log.error("Failed to ensure ident username index on users database!");
  return;
  