A file contents model thunk.

Note: The content of the model will be empty. To get the contents, call and await the withContent method.

interface IContentsThunk {
    model: Contents.IModel;
    withContent: () => Promise<Contents.IModel>;
}

Properties

Properties

The contents model.

withContent: () => Promise<Contents.IModel>

Fetches the model with contents.