SierraSoftworks/Iridium

View on GitHub
lib/Index.ts

Summary

Maintainability
A
0 mins
Test Coverage
import * as MongoDB from "mongodb";

export interface Index {
    spec: IndexSpecification;
    options?: MongoDB.IndexOptions;
}

export interface IndexSpecification {
    [key: string]: number | string;
}