UNPKG

@pnp/sp

Version:

pnp - provides a fluent api for working with SharePoint REST

30 lines 947 B
import { IComments, ILikeData, ILikedByInformation } from "./types.js"; declare module "../items/types" { interface _Item { readonly comments: IComments; getLikedBy(): Promise<ILikeData[]>; like(): Promise<void>; unlike(): Promise<void>; getLikedByInformation(): Promise<ILikedByInformation>; } interface IItem { readonly comments: IComments; /** * Gets the collection of people who have liked this item */ getLikedBy(): Promise<ILikeData[]>; /** * Likes this client-side page as the current user */ like(): Promise<void>; /** * Unlikes this client-side page as the current user */ unlike(): Promise<void>; /** * Unlikes this item as the current user */ getLikedByInformation(): Promise<ILikedByInformation>; } } //# sourceMappingURL=item.d.ts.map