hadron-document
Version:
Hadron Document
20 lines • 600 B
TypeScript
import StandardEditor from './standard';
import type { BSONValue } from '../utils';
/**
* CRUD editor for decimal128 values.
*/
export default class Decimal128Editor extends StandardEditor {
/**
* Complete the decimal128 edit by converting the valid string to a decimal128
* value or leaving as invalid.
*/
complete(): void;
/**
* Edit Decimal128 element. Check if the value is a Decimal128 before setting typed
* up value.
*
* @param {Object} value - The new value.
*/
edit(value: BSONValue): void;
}
//# sourceMappingURL=decimal128.d.ts.map