hunk.code_window: // This is needed to satisfy the typescript compiler.
   interface Window {
       SQL: any;
   }
   declare var window: Window;
   export class SqljsDriver extends AbstractSqliteDriver {
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit:     localforage: any;
  
hunk.file_path: src/driver/sqljs/SqljsDriver.ts
hunk.type: add
file: import {Entity} from "../../../../../src/decorator/entity/Entity";
  import {PrimaryGeneratedColumn} from "../../../../../src/decorator/columns/PrimaryGeneratedColumn";
  import {Post} from "./Post";
  import {Column} from "../../../../../src/decorator/columns/Column";
  import {ManyToMany} from "../../../../../src/decorator/relations/ManyToMany";
  
  @Entity()
  export class Category {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      name: string;
  
      @Column()
      position: number;
      
      @ManyToMany(type => Post, post => post.categories)
      posts: Post[];
  
  }