bs3m
Version:
TS/JS migrations framework for sqlite3 databases
15 lines • 502 B
JavaScript
;
/** Migration interface definitions. */
Object.defineProperty(exports, "__esModule", { value: true });
exports.migration = migration;
/**
* Type helper function for creating strongly-typed migrations. Provides type
* safety for database keys and removes need to specify generics.
*
* @param m - Migration object to type-check and return.
* @returns The same migration object with enhanced type safety.
*/
function migration(m) {
return m;
}
//# sourceMappingURL=migration.js.map