Skip to content
Snippets Groups Projects
Commit e706e8a9 authored by Alexander Rose's avatar Alexander Rose
Browse files

reverted "export schema database as type instead of interface"

parent ecfc3781
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ const List = Schema.List;`
function footer (name: string) {
return `
export type ${name}_Schema = typeof ${name}_Schema;
export type ${name}_Database = Database<${name}_Schema>`
export interface ${name}_Database extends Database<${name}_Schema> {}`
}
const value: { [k: string]: (...args: any[]) => string } = {
......
......@@ -122,4 +122,4 @@ export const BIRD_Schema = {
}
export type BIRD_Schema = typeof BIRD_Schema;
export type BIRD_Database = Database<BIRD_Schema>
\ No newline at end of file
export interface BIRD_Database extends Database<BIRD_Schema> {}
\ No newline at end of file
......@@ -89,4 +89,4 @@ export const CCD_Schema = {
}
export type CCD_Schema = typeof CCD_Schema;
export type CCD_Database = Database<CCD_Schema>
\ No newline at end of file
export interface CCD_Database extends Database<CCD_Schema> {}
\ No newline at end of file
......@@ -222,4 +222,4 @@ export const mmCIF_Schema = {
}
export type mmCIF_Schema = typeof mmCIF_Schema;
export type mmCIF_Database = Database<mmCIF_Schema>
\ No newline at end of file
export interface mmCIF_Database extends Database<mmCIF_Schema> {}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment