interface · Browser and Node

# DecodeCborOptions

`@toip-tools/cose` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/cose/src/cbor.ts#L40)

Import:

```ts
import { type DecodeCborOptions } from "@toip-tools/cose";
```

## Declaration

interface:

```ts
interface DecodeCborOptions {
  /** Reject encodings that are not deterministic. Default true. */
  strict?: boolean;
  /** Return every map as a `Map`, even text-keyed ones. Default false. */
  useMaps?: boolean;
}
```

## Properties

**`strict` (optional)**

`boolean | undefined`

Reject encodings that are not deterministic. Default true.

**`useMaps` (optional)**

`boolean | undefined`

Return every map as a `Map`, even text-keyed ones. Default false.

[Usage guide](https://toip.tools/toolkit/cose/#usage) · [Error handling](https://toip.tools/toolkit/cose/#errors) · [All exports](https://toip.tools/toolkit/cose/api/)

---

This is the Markdown version of https://toip.tools/toolkit/cose/api/DecodeCborOptions/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
