Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
HistoryUpdateResponse,
ReadRawModifiedDetails,
ReadProcessedDetails,
ReadAtTimeDetails,
HistoryUpdateType,
ModificationInfo,
ReadEventDetails,
HistoryReadRequestOptions
} from "node-opcua-types";
import { assert } from "node-opcua-assert";
import { HistoryReadRequest } from "node-opcua-types";
assert(HistoryReadRequest.schema.fields[2].name === "timestampsToReturn");
HistoryReadRequest.schema.fields[2].defaultValue = TimestampsToReturn.Neither;
ReadRawModifiedDetails,
ReadProcessedDetails,
ReadAtTimeDetails,
HistoryUpdateType,
ModificationInfo,
ReadEventDetails,
HistoryReadRequestOptions
} from "node-opcua-types";
import { assert } from "node-opcua-assert";
import { HistoryReadRequest } from "node-opcua-types";
assert(HistoryReadRequest.schema.fields[2].name === "timestampsToReturn");
HistoryReadRequest.schema.fields[2].defaultValue = TimestampsToReturn.Neither;