Skip to content

Instantly share code, notes, and snippets.

@leetheguy
Created August 19, 2017 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leetheguy/9e10a27ffc2f853f2b03c5a9fad10710 to your computer and use it in GitHub Desktop.
Save leetheguy/9e10a27ffc2f853f2b03c5a9fad10710 to your computer and use it in GitHub Desktop.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 796
',' expected.
L797: //
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 799
',' expected.
L798: declare module 'pouchdb-core' {
L799: const PouchDb: PouchDB.Static;
L800: export = PouchDb;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 803
',' expected.
L803: declare var PouchDB: PouchDB.Static;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 805
Declaration or statement expected.
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 165
',' expected.
L165: /** Get a list of all the indexes you've created. Also tells you about the special _all_docs index,
L166: getIndexes(callback: Core.Callback<Find.GetIndexesResponse<Content>>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 165
'>' expected.
L165: /** Get a list of all the indexes you've created. Also tells you about the special _all_docs index,
L166: getIndexes(callback: Core.Callback<Find.GetIndexesResponse<Content>>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 165
Expression expected.
L165: /** Get a list of all the indexes you've created. Also tells you about the special _all_docs index,
L166: getIndexes(callback: Core.Callback<Find.GetIndexesResponse<Content>>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 169
',' expected.
L169: /** Delete an index and clean up any leftover data on the disk. */
L170: deleteIndex(index: Find.DeleteIndexOptions,
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 172
',' expected.
L171: callback: Core.Callback<Find.DeleteIndexResponse<Content>>): void;
L172: deleteIndex(index?: Find.DeleteIndexOptions): Promise<Find.DeleteIndexResponse<Content>>;
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 174
',' expected.
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 177
',' expected.
L176: declare module 'pouchdb-find' {
L177: const plugin: PouchDB.Plugin;
L178: export = plugin;
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 178
',' expected.
L177: const plugin: PouchDB.Plugin;
L178: export = plugin;
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 181
',' expected.
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 183
',' expected.
[10:26:59] typescript: node_modules/@types/pouchdb-mapreduce/index.d.ts, line: 89
',' expected.
L89: * Cleans up any stale map/reduce indexes.
[10:26:59] typescript: node_modules/@types/pouchdb-mapreduce/index.d.ts, line: 89
'>' expected.
L89: * Cleans up any stale map/reduce indexes.
[10:26:59] typescript: node_modules/@types/pouchdb-mapreduce/index.d.ts, line: 89
Expression expected.
L89: * Cleans up any stale map/reduce indexes.
[10:26:59] typescript: node_modules/@types/pouchdb-mapreduce/index.d.ts, line: 107
',' expected.
L107: query<Result, Model = Content>(fun: string | Map<Model, Result> | Filter<Model, Result>, callback: Core.Call
[10:26:59] typescript: node_modules/@types/pouchdb-mapreduce/index.d.ts, line: 113
',' expected.
L112: query<Result, Model = Content>(fun: string | Map<Model, Result> | Filter<Model, Result>, opts?: Query.Options<Model, Result>): Promise<Query.Response<Result>>;
[10:26:59] typescript: node_modules/@types/pouchdb-mapreduce/index.d.ts, line: 113
',' expected.
L112: query<Result, Model = Content>(fun: string | Map<Model, Result> | Filter<Model, Result>, opts?: Query.Options<Model, Result>): Promise<Query.Response<Result>>;
[10:26:59] typescript: node_modules/@types/pouchdb-mapreduce/index.d.ts, line: 118
',' expected.
L117: const plugin: PouchDB.Plugin;
L118: export = plugin;
[10:26:59] typescript: node_modules/@types/pouchdb-mapreduce/index.d.ts, line: 118
',' expected.
L117: const plugin: PouchDB.Plugin;
L118: export = plugin;
[10:26:59] typescript: node_modules/@types/pouchdb-mapreduce/index.d.ts, line: 123
',' expected.
[10:26:59] typescript: node_modules/@types/pouchdb-mapreduce/index.d.ts, line: 123
',' expected.
[10:26:59] typescript: node_modules/@types/pouchdb-replication/index.d.ts, line: 166
',' expected.
L165: options?: Replication.ReplicateOptions,
L166: callback?: Core.Callback<Replication.ReplicationResultComplete<Content>>
L167: ): Replication.Replication<Content>;
[10:26:59] typescript: node_modules/@types/pouchdb-replication/index.d.ts, line: 166
'>' expected.
L165: options?: Replication.ReplicateOptions,
L166: callback?: Core.Callback<Replication.ReplicationResultComplete<Content>>
L167: ): Replication.Replication<Content>;
[10:26:59] typescript: node_modules/@types/pouchdb-replication/index.d.ts, line: 166
Expression expected.
L165: options?: Replication.ReplicateOptions,
L166: callback?: Core.Callback<Replication.ReplicationResultComplete<Content>>
L167: ): Replication.Replication<Content>;
[10:26:59] typescript: node_modules/@types/pouchdb-replication/index.d.ts, line: 186
',' expected.
L185: * In other words, this code:
L186: * `PouchDB.replicate('mydb', 'http://localhost:5984/mydb')`;
L187: * `PouchDB.replicate('http://localhost:5984/mydb', 'mydb')`;
[10:26:59] typescript: node_modules/@types/pouchdb-replication/index.d.ts, line: 191
',' expected.
L191: sync<Content>(
L192: remote: string | Database<Content>,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 90
Duplicate identifier 'PouchDB'.
L89: reason?: string;
L90: error?: string | boolean;
L91: id?: string;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 546
Left side of comma operator is unused and has no side effects.
L545: options?: Configuration.DatabaseConfiguration): Database<Content>;
};
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 546
Cannot find name 'string'.
L545: options?: Configuration.DatabaseConfiguration): Database<Content>;
546: };
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 547
Cannot find name 'options'.
L546: };
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 547
Cannot find name 'Configuration'.
L546: };
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 547
'Database' only refers to a type, but is being used as a value here.
L546: };
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 553
Cannot find name 'defaults'.
L552: Promise<Core.AllDocsResponse<Content & Model>>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 553
Cannot find name 'options'.
L552: Promise<Core.AllDocsResponse<Content & Model>>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 553
Cannot find name 'Configuration'.
L552: Promise<Core.AllDocsResponse<Content & Model>>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 554
Cannot find name 'Content'.
L555: * Create, update or delete multiple documents. The docs argument is an array of documents.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 554
Left side of comma operator is unused and has no side effects.
L555: * Create, update or delete multiple documents. The docs argument is an array of documents.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 554
Cannot find name 'string'.
L555: * Create, update or delete multiple documents. The docs argument is an array of documents.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 555
Cannot find name 'options'.
L555: * Create, update or delete multiple documents. The docs argument is an array of documents.
L556: * If you omit an _id parameter on a given document, the database will create a new document and assign the ID for you.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 555
Cannot find name 'Configuration'.
L555: * Create, update or delete multiple documents. The docs argument is an array of documents.
L556: * If you omit an _id parameter on a given document, the database will create a new document and assign the ID for you.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 555
'Database' only refers to a type, but is being used as a value here.
L555: * Create, update or delete multiple documents. The docs argument is an array of documents.
L556: * If you omit an _id parameter on a given document, the database will create a new document and assign the ID for you.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 561
Cannot find namespace 'Core'.
L561: bulkDocs<Model>(docs: Array<Core.PutDocument<Content & Model>>,
L562: options: Core.BulkDocsOptions | null,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 561
Cannot find namespace 'Core'.
L561: bulkDocs<Model>(docs: Array<Core.PutDocument<Content & Model>>,
L562: options: Core.BulkDocsOptions | null,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 561
Cannot find namespace 'Core'.
L561: bulkDocs<Model>(docs: Array<Core.PutDocument<Content & Model>>,
L562: options: Core.BulkDocsOptions | null,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 561
Cannot find namespace 'Core'.
L561: bulkDocs<Model>(docs: Array<Core.PutDocument<Content & Model>>,
L562: options: Core.BulkDocsOptions | null,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 562
Cannot find namespace 'Core'.
L561: bulkDocs<Model>(docs: Array<Core.PutDocument<Content & Model>>,
L562: options: Core.BulkDocsOptions | null,
L563: callback: Core.Callback<Core.Response[]>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 571
Cannot find namespace 'Core'.
L570: * Finally, to delete a document, include a _deleted parameter with the value true.
L572: bulkDocs<Model>(docs: Array<Core.PutDocument<Content & Model>>,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 572
Cannot find namespace 'Core'.
L572: bulkDocs<Model>(docs: Array<Core.PutDocument<Content & Model>>,
L573: options?: Core.BulkDocsOptions): Promise<Core.Response[]>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 573
Cannot find namespace 'Core'.
L572: bulkDocs<Model>(docs: Array<Core.PutDocument<Content & Model>>,
L573: options?: Core.BulkDocsOptions): Promise<Core.Response[]>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 582
Cannot find namespace 'Core'.
L582: /** Destroy the database */
L583: destroy(options: Core.Options | null,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 583
Cannot find namespace 'Core'.
L582: /** Destroy the database */
L583: destroy(options: Core.Options | null,
L584: callback: Core.Callback<any>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 583
Cannot find namespace 'Core'.
L582: /** Destroy the database */
L583: destroy(options: Core.Options | null,
L584: callback: Core.Callback<any>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 586
Cannot find namespace 'Core'.
L586: /** Destroy the database */
L587: destroy(options?: Core.Options | null): Promise<void>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 586
Cannot find namespace 'Core'.
L586: /** Destroy the database */
L587: destroy(options?: Core.Options | null): Promise<void>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 589
Cannot find namespace 'Core'.
L589: /** Fetch a document */
L590: get<Model>(docId: Core.DocumentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 590
Cannot find namespace 'Core'.
L589: /** Fetch a document */
L590: get<Model>(docId: Core.DocumentId,
L591: options: Core.GetOptions | null,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 593
Cannot find namespace 'Core'.
L592: callback: Core.Callback<Core.Document<Content & Model> & Core.GetMeta>
L593: ): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 594
Cannot find namespace 'Core'.
L593: ): void;
L595: /** Fetch a document */
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 597
Cannot find namespace 'Core'.
L596: get<Model>(docId: Core.DocumentId,
L597: options: Core.GetOpenRevisions,
L598: callback: Core.Callback<Array<Core.Revision<Content & Model>>>
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 600
Cannot find namespace 'Core'.
L599: ): void;
L601: /** Fetch a document */
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 601
Cannot find namespace 'Core'.
L601: /** Fetch a document */
L602: get<Model>(docId: Core.DocumentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 602
Cannot find namespace 'Core'.
L601: /** Fetch a document */
L602: get<Model>(docId: Core.DocumentId,
L603: options?: Core.GetOptions
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 606
Cannot find namespace 'Core'.
L606: /** Fetch a document */
L607: get<Model>(docId: Core.DocumentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 607
Cannot find namespace 'Core'.
L606: /** Fetch a document */
L607: get<Model>(docId: Core.DocumentId,
L608: options: Core.GetOpenRevisions
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 608
Cannot find namespace 'Core'.
L607: get<Model>(docId: Core.DocumentId,
L608: options: Core.GetOpenRevisions
L609: ): Promise<Array<Core.Revision<Content & Model>>>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 612
Cannot find namespace 'Core'.
L611: /** Create a new document without providing an id.
L613: * You should prefer put() to post(), because when you post(), you are
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 613
Cannot find namespace 'Core'.
L613: * You should prefer put() to post(), because when you post(), you are
L614: * missing an opportunity to use allDocs() to sort documents by _id
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 614
Cannot find namespace 'Core'.
L613: * You should prefer put() to post(), because when you post(), you are
L614: * missing an opportunity to use allDocs() to sort documents by _id
L615: * (because your _ids are random).
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 614
Cannot find namespace 'Core'.
L613: * You should prefer put() to post(), because when you post(), you are
L614: * missing an opportunity to use allDocs() to sort documents by _id
L615: * (because your _ids are random).
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 617
Cannot find namespace 'Core'.
L617: * @see {@link https://pouchdb.com/2014/06/17/12-pro-tips-for-better-code-with-pouchdb.html|PouchDB Pro Tips}
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 618
Cannot find namespace 'Core'.
L617: * @see {@link https://pouchdb.com/2014/06/17/12-pro-tips-for-better-code-with-pouchdb.html|PouchDB Pro Tips}
L619: post<Model>(doc: Core.PostDocument<Content & Model>,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 619
Cannot find namespace 'Core'.
L619: post<Model>(doc: Core.PostDocument<Content & Model>,
L620: options: Core.Options | null,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 629
Cannot find namespace 'Core'.
L629: * @see {@link https://pouchdb.com/2014/06/17/12-pro-tips-for-better-code-with-pouchdb.html|PouchDB Pro Tips}
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 630
Cannot find namespace 'Core'.
L629: * @see {@link https://pouchdb.com/2014/06/17/12-pro-tips-for-better-code-with-pouchdb.html|PouchDB Pro Tips}
L631: post<Model>(doc: Core.PostDocument<Content & Model>,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 631
Cannot find namespace 'Core'.
L631: post<Model>(doc: Core.PostDocument<Content & Model>,
L632: options?: Core.Options): Promise<Core.Response>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 641
Cannot find namespace 'Core'.
L640: * see inconsistent results.
L642: put<Model>(doc: Core.PutDocument<Content & Model>,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 642
Cannot find namespace 'Core'.
L642: put<Model>(doc: Core.PutDocument<Content & Model>,
L643: options: Core.Options | null,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 642
Cannot find namespace 'Core'.
L642: put<Model>(doc: Core.PutDocument<Content & Model>,
L643: options: Core.Options | null,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 652
Cannot find namespace 'Core'.
L651: * If you try to store non-JSON data (for instance Date objects) you may
L652: * see inconsistent results.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 653
Cannot find namespace 'Core'.
L652: * see inconsistent results.
L654: put<Model>(doc: Core.PutDocument<Content & Model>,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 654
Cannot find namespace 'Core'.
L654: put<Model>(doc: Core.PutDocument<Content & Model>,
L655: options?: Core.Options): Promise<Core.Response>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 664
Cannot find namespace 'Core'.
L663: remove(docId: Core.DocumentId,
L664: revision: Core.RevisionId,
L665: options: Core.Options,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 665
Cannot find namespace 'Core'.
L664: revision: Core.RevisionId,
L665: options: Core.Options,
L666: callback: Core.Callback<Core.Response>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 665
Cannot find namespace 'Core'.
L664: revision: Core.RevisionId,
L665: options: Core.Options,
L666: callback: Core.Callback<Core.Response>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 668
Cannot find namespace 'Core'.
L668: /** Remove a doc from the database */
L669: remove(doc: Core.RemoveDocument,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 669
Cannot find namespace 'Core'.
L668: /** Remove a doc from the database */
L669: remove(doc: Core.RemoveDocument,
L670: options?: Core.Options): Promise<Core.Response>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 670
Cannot find namespace 'Core'.
L669: remove(doc: Core.RemoveDocument,
L670: options?: Core.Options): Promise<Core.Response>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 673
Cannot find namespace 'Core'.
L672: /** Remove a doc from the database */
L673: remove(docId: Core.DocumentId,
L674: revision: Core.RevisionId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 674
Cannot find namespace 'Core'.
L673: remove(docId: Core.DocumentId,
L674: revision: Core.RevisionId,
L675: options?: Core.Options): Promise<Core.Response>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 675
Cannot find namespace 'Core'.
L674: revision: Core.RevisionId,
L675: options?: Core.Options): Promise<Core.Response>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 676
Cannot find namespace 'Core'.
L675: options?: Core.Options): Promise<Core.Response>;
L677: /** Get database information */
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 679
Cannot find namespace 'Core'.
L678: info(callback: Core.Callback<Core.DatabaseInfo>): void;
L680: /** Get database information */
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 680
Cannot find namespace 'Core'.
L680: /** Get database information */
L681: info(): Promise<Core.DatabaseInfo>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 680
Cannot find namespace 'Core'.
L680: /** Get database information */
L681: info(): Promise<Core.DatabaseInfo>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 683
Cannot find namespace 'Core'.
L684: * A list of changes made to documents in the database, in the order they were made.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 684
Cannot find namespace 'Core'.
L684: * A list of changes made to documents in the database, in the order they were made.
L685: * It returns an object with the method cancel(), which you call if you don’t want to listen to new changes anymore.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 685
Cannot find namespace 'Core'.
L684: * A list of changes made to documents in the database, in the order they were made.
L685: * It returns an object with the method cancel(), which you call if you don’t want to listen to new changes a
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 685
Cannot find namespace 'Core'.
L684: * A list of changes made to documents in the database, in the order they were made.
L685: * It returns an object with the method cancel(), which you call if you don’t want to listen to new changes a
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 688
Cannot find namespace 'Core'.
L687: * It is an event emitter and will emit a 'change' event on each document change,
L688: * a 'complete' event when all the changes have been processed, and an 'error' event when an error occurs.
L689: * Calling cancel() will unsubscribe all event listeners automatically.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 691
Cannot find namespace 'Core'.
L691: changes<Model>(options: Core.ChangesOptions | null,
L692: callback: Core.Callback<Core.Changes<Content & Model>>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 701
Cannot find namespace 'Core'.
L700: * Calling cancel() will unsubscribe all event listeners automatically.
L702: changes<Model>(options?: Core.ChangesOptions): Core.Changes<Content & Model>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 702
Cannot find namespace 'Core'.
L702: changes<Model>(options?: Core.ChangesOptions): Core.Changes<Content & Model>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 712
Cannot find namespace 'Core'.
L711: * Attaches a binary object to a document.
L712: * This method will update an existing document to add the attachment, so it requires a rev if the document a
L713: * If the document doesn’t already exist, then this method will create an empty document containing the attachment.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 712
Cannot find namespace 'Core'.
L711: * Attaches a binary object to a document.
L712: * This method will update an existing document to add the attachment, so it requires a rev if the document a
L713: * If the document doesn’t already exist, then this method will create an empty document containing the attachment.
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 715
Cannot find namespace 'Core'.
L715: putAttachment(docId: Core.DocumentId,
L716: attachmentId: Core.AttachmentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 725
Cannot find namespace 'Core'.
L724: * This method will update an existing document to add the attachment, so it requires a rev if the document already exists.
L725: * If the document doesn’t already exist, then this method will create an empty document containing the attac
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 726
Cannot find namespace 'Core'.
L725: * If the document doesn’t already exist, then this method will create an empty document containing the attachment.
L727: putAttachment(docId: Core.DocumentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 727
Cannot find namespace 'Core'.
L727: putAttachment(docId: Core.DocumentId,
L728: attachmentId: Core.AttachmentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 728
Cannot find namespace 'Core'.
L727: putAttachment(docId: Core.DocumentId,
L728: attachmentId: Core.AttachmentId,
L729: rev: Core.RevisionId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 730
Cannot find namespace 'Core'.
L729: rev: Core.RevisionId,
L730: attachment: Core.Attachment,
L731: type: string): Promise<Core.Response>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 737
Cannot find namespace 'Core'.
L736: * If the document doesn’t already exist, then this method will create an empty document containing the attachment.
L738: putAttachment(docId: Core.DocumentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 738
Cannot find namespace 'Core'.
L738: putAttachment(docId: Core.DocumentId,
L739: attachmentId: Core.AttachmentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 739
Cannot find namespace 'Core'.
L738: putAttachment(docId: Core.DocumentId,
L739: attachmentId: Core.AttachmentId,
L740: attachment: Core.Attachment,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 740
Cannot find namespace 'Core'.
L739: attachmentId: Core.AttachmentId,
L740: attachment: Core.Attachment,
L741: type: string,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 741
Cannot find namespace 'Core'.
L740: attachment: Core.Attachment,
L741: type: string,
L742: callback: Core.Callback<Core.Response>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 748
Cannot find namespace 'Core'.
L747: * If the document doesn’t already exist, then this method will create an empty document containing the attachment.
L749: putAttachment(docId: Core.DocumentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 749
Cannot find namespace 'Core'.
L749: putAttachment(docId: Core.DocumentId,
L750: attachmentId: Core.AttachmentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 750
Cannot find namespace 'Core'.
L749: putAttachment(docId: Core.DocumentId,
L750: attachmentId: Core.AttachmentId,
L751: attachment: Core.Attachment,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 752
Cannot find namespace 'Core'.
L751: attachment: Core.Attachment,
L752: type: string): Promise<Core.Response>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 759
Cannot find namespace 'Core'.
L758: callback: Core.Callback<Blob | Buffer>): void;
L760: /** Get attachment data */
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 760
Cannot find namespace 'Core'.
L760: /** Get attachment data */
L761: getAttachment(docId: Core.DocumentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 761
Cannot find namespace 'Core'.
L760: /** Get attachment data */
L761: getAttachment(docId: Core.DocumentId,
L762: attachmentId: Core.AttachmentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 762
Cannot find namespace 'Core'.
L761: getAttachment(docId: Core.DocumentId,
L762: attachmentId: Core.AttachmentId,
L763: options?: { rev?: Core.RevisionId}): Promise<Blob | Buffer>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 765
Cannot find namespace 'Core'.
L765: /** Get attachment data */
L766: getAttachment(docId: Core.DocumentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 766
Cannot find namespace 'Core'.
L765: /** Get attachment data */
L766: getAttachment(docId: Core.DocumentId,
L767: attachmentId: Core.AttachmentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 767
Cannot find namespace 'Core'.
L766: getAttachment(docId: Core.DocumentId,
L767: attachmentId: Core.AttachmentId,
L768: callback: Core.Callback<Blob | Buffer>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 768
Cannot find namespace 'Core'.
L767: attachmentId: Core.AttachmentId,
L768: callback: Core.Callback<Blob | Buffer>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 771
Cannot find namespace 'Core'.
L770: /** Delete an attachment from a doc. You must supply the rev of the existing doc. */
L771: removeAttachment(docId: Core.DocumentId,
L772: attachmentId: Core.AttachmentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 772
Cannot find namespace 'Core'.
L771: removeAttachment(docId: Core.DocumentId,
L772: attachmentId: Core.AttachmentId,
L773: rev: Core.RevisionId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 773
Cannot find namespace 'Core'.
L772: attachmentId: Core.AttachmentId,
L773: rev: Core.RevisionId,
L774: callback: Core.Callback<Core.RemoveAttachmentResponse>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 776
Cannot find namespace 'Core'.
L776: /** Delete an attachment from a doc. You must supply the rev of the existing doc. */
L777: removeAttachment(docId: Core.DocumentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 777
Cannot find namespace 'Core'.
L776: /** Delete an attachment from a doc. You must supply the rev of the existing doc. */
L777: removeAttachment(docId: Core.DocumentId,
L778: attachmentId: Core.AttachmentId,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 778
Cannot find namespace 'Core'.
L777: removeAttachment(docId: Core.DocumentId,
L778: attachmentId: Core.AttachmentId,
L779: rev: Core.RevisionId): Promise<Core.RemoveAttachmentResponse>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 781
Cannot find namespace 'Core'.
L781: /** Given a set of document/revision IDs, returns the document bodies (and, optionally, attachment d
L782: bulkGet<Model>(options: Core.BulkGetOptions,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 782
Cannot find namespace 'Core'.
L781: /** Given a set of document/revision IDs, returns the document bodies (and, optionally, attachment data) for each ID/revision pair specified. */
L782: bulkGet<Model>(options: Core.BulkGetOptions,
L783: callback: Core.Callback<Core.BulkGetResponse<Content & Model>>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 783
Cannot find namespace 'Core'.
L782: bulkGet<Model>(options: Core.BulkGetOptions,
L783: callback: Core.Callback<Core.BulkGetResponse<Content & Model>>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 784
Cannot find namespace 'Core'.
L783: callback: Core.Callback<Core.BulkGetResponse<Content & Model>>): void;
L785: /** Given a set of document/revision IDs, returns the document bodies (and, optionally, attachment data) for each ID/revision pair specified. */
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 787
Cannot find namespace 'Core'.
L786: bulkGet<Model>(options: Core.BulkGetOptions): Promise<Core.BulkGetResponse<Content & Model>>;
L788: /** Given a set of document/revision IDs, returns the subset of those that do not correspond to revisions stored in the database */
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 788
Cannot find namespace 'Core'.
L788: /** Given a set of document/revision IDs, returns the subset of those that do not correspond to revi
L789: revsDiff(diff: Core.RevisionDiffOptions,
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 789
Cannot find namespace 'Core'.
L788: /** Given a set of document/revision IDs, returns the subset of those that do not correspond to revisions stored in the database */
L789: revsDiff(diff: Core.RevisionDiffOptions,
L790: callback: Core.Callback<Core.RevisionDiffResponse>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 789
Cannot find namespace 'Core'.
L788: /** Given a set of document/revision IDs, returns the subset of those that do not correspond to revisions stored in the database */
L789: revsDiff(diff: Core.RevisionDiffOptions,
L790: callback: Core.Callback<Core.RevisionDiffResponse>): void;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 792
Cannot find namespace 'Core'.
L792: /** Given a set of document/revision IDs, returns the subset of those that do not correspond to revi
L793: revsDiff(diff: Core.RevisionDiffOptions): Promise<Core.RevisionDiffResponse>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 793
Cannot find namespace 'Core'.
L792: /** Given a set of document/revision IDs, returns the subset of those that do not correspond to revisions stored in the database */
L793: revsDiff(diff: Core.RevisionDiffOptions): Promise<Core.RevisionDiffResponse>;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 796
Cannot find namespace 'Core'.
L797: //
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 796
Cannot find namespace 'Core'.
L797: //
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 799
Cannot find namespace 'Core'.
L798: declare module 'pouchdb-core' {
L799: const PouchDb: PouchDB.Static;
L800: export = PouchDb;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 800
Cannot find namespace 'Core'.
L799: const PouchDb: PouchDB.Static;
L800: export = PouchDb;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 803
Cannot find namespace 'Core'.
L803: declare var PouchDB: PouchDB.Static;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 803
Cannot find namespace 'Core'.
L803: declare var PouchDB: PouchDB.Static;
[10:26:59] typescript: node_modules/@types/pouchdb-core/index.d.ts, line: 813
Duplicate identifier 'PouchDB'.
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 167
Cannot find name 'Content'.
L166: getIndexes(callback: Core.Callback<Find.GetIndexesResponse<Content>>): void;
L167: getIndexes(): Promise<Find.GetIndexesResponse<Content>>;
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 168
Cannot find name 'Content'.
L167: getIndexes(): Promise<Find.GetIndexesResponse<Content>>;
L169: /** Delete an index and clean up any leftover data on the disk. */
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 169
Cannot find name 'Content'.
L169: /** Delete an index and clean up any leftover data on the disk. */
L170: deleteIndex(index: Find.DeleteIndexOptions,
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 169
Cannot find name 'Content'.
L169: /** Delete an index and clean up any leftover data on the disk. */
L170: deleteIndex(index: Find.DeleteIndexOptions,
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 173
Cannot find name 'Content'.
L172: deleteIndex(index?: Find.DeleteIndexOptions): Promise<Find.DeleteIndexResponse<Content>>;
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 174
Cannot find name 'Content'.
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 177
Cannot find name 'Content'.
L176: declare module 'pouchdb-find' {
L177: const plugin: PouchDB.Plugin;
L178: export = plugin;
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 178
Cannot find name 'Content'.
L177: const plugin: PouchDB.Plugin;
L178: export = plugin;
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 182
Cannot find name 'Content'.
[10:26:59] typescript: node_modules/@types/pouchdb-find/index.d.ts, line: 183
Cannot find name 'Content'.
[10:26:59] typescript: src/data/cold-data.factory.ts, line: 23
Supplied parameters do not match any signature of call target.
L22: PouchDB.plugin(PouchFind);
L23: this.db = new PouchDB('dev');
L24: this.db.sync('https://leetheguy.cloudant.com/dev', {live: true, retry: true});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment