# LoadResult.warnings Property

> LoadResult.warnings property in the Node.js TypeScript API, with its type readonly { code: string; message: string; part?: string; }[] and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > LoadResult > LoadResult.warnings Property
- **368 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/loadresult/warnings-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/loadresult/warnings-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/loadresult/warnings-property/llms-full.txt

---

The warnings value of LoadResult.

Owner: [LoadResult](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/loadresult/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```typescript
warnings: readonly { code: string; message: string; part?: string; }[]
```

Read through the owning object: `owner.warnings`. Follow the declared mutability and owning object lifetime.

### Examples

Pass the LoadResult value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
import type { LoadResult } from '@txtextcontrol/tx-sheet-control-server';

function inspectLoadResultWarnings(loadResult: LoadResult) {
    const value = loadResult['warnings'];
    console.log('LoadResult.warnings', value);
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [LoadResult Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/loadresult/llms-full.txt)
- [Loading and Saving Workbooks](https://docs.textcontrol.com/tx-sheet-control/document-processing/load-save/llms-full.txt)

---

## Nearby

- **Previous:** [LoadResult Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/loadresult/llms-full.txt)
- **Next:** [LocalizationKey Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/localizationkey/llms-full.txt)
