IDBVersionChangeEvent
This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function.
interface IDBVersionChangeEvent extends Event {
readonly newVersion: number | null;
readonly oldVersion: number;
}var IDBVersionChangeEvent: {
prototype: IDBVersionChangeEvent;
new (type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;
};