type IndexConstructor<TKey> = (id, expression, name?, options?) => BaseIndex<TKey>;
type IndexConstructor<TKey> = (id, expression, name?, options?) => BaseIndex<TKey>;
定义于: packages/db/src/indexes/base-index.ts:106
索引构造函数的类型
• TKey 扩展 string | number = string | number
number
BasicExpression
string
any
BaseIndex<TKey>
您的每周 JavaScript 资讯。每周一免费发送给超过 10 万开发者。