Skip to main content

deleteDatabase

Deletes a local emoji database.

import { deleteDatabase } from 'picmo';
deleteDatabase(factory: DataStoreFactory, locale: Locale): Promise<void>

Deletes an emoji database.

Arguments

  • factory: The data store factory to use to delete the database.
  • locale: The locale for the database to be deleted.

Return value

A Promise that is resolved when the database is deleted.