Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/entry-queryable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class EntryQueryable extends BaseQuery {
* @param {string} fieldUid - field uid to select
* @returns {EntryQueryable} - returns EntryQueryable object for chaining method calls
*/
only(fieldUid: string|string[]): EntryQueryable {
only(fieldUid: string|string[]): this {
if (Array.isArray(fieldUid)) {
let i = 0;
for (const uid of fieldUid) {
Expand All @@ -41,7 +41,7 @@ export class EntryQueryable extends BaseQuery {
* @param {string} fieldUid - field uid to exclude
* @returns {EntryQueryable} - returns EntryQueryable object for chaining method calls
*/
except(fieldUid: string|string[]): EntryQueryable {
except(fieldUid: string|string[]): this {
if (Array.isArray(fieldUid)) {
let i = 0;
for (const uid of fieldUid) {
Expand Down