UNPKG

324 BJavaScriptView Raw
1import { addProp } from "@pnp/queryable";
2import { _List } from "../lists/types.js";
3import { Views, View } from "./types.js";
4addProp(_List, "views", Views);
5addProp(_List, "defaultView", View);
6_List.prototype.getView = function (viewId) {
7 return View(this, `getView('${viewId}')`);
8};
9//# sourceMappingURL=list.js.map
\No newline at end of file