Skip to content

Instantly share code, notes, and snippets.

@sebastienlevert
Created December 4, 2017 17:22
Show Gist options
  • Save sebastienlevert/75a8e57021e972052047852b6f43f37d to your computer and use it in GitHub Desktop.
Save sebastienlevert/75a8e57021e972052047852b6f43f37d to your computer and use it in GitHub Desktop.
import { List } from "../../models/list";
import { WebPartContext } from '@microsoft/sp-webpart-base';
/**
* Interface for Lists Service
*/
export interface IListsService {
/**
* Gets all the lists from the current Site
*/
getLists(context: WebPartContext): Promise<List[]>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment