---
title: "LoadFileOptions"
---
Defined in: [api/node/typescript/index.ts:489](https://github.com/slint-ui/slint/blob/master/api/node/typescript/index.ts#L489)

LoadFileOptions are used to defines different optional parameters that can be used to configure the compiler.

## Properties

### includePaths?

> `optional` **includePaths?**: `string`[]

Defined in: [api/node/typescript/index.ts:504](https://github.com/slint-ui/slint/blob/master/api/node/typescript/index.ts#L504)

Sets the include paths used for looking up `.slint` imports to the specified vector of paths.
These paths come before the include paths of the project file.

***

### libraryPaths?

> `optional` **libraryPaths?**: `Record`\<`string`, `string`\>

Defined in: [api/node/typescript/index.ts:511](https://github.com/slint-ui/slint/blob/master/api/node/typescript/index.ts#L511)

Sets library paths used for looking up `@library` imports to the specified map of library names to paths.
A library here replaces the project file's library of the same name.
The project file's other libraries stay available.

***

### quiet?

> `optional` **quiet?**: `boolean`

Defined in: [api/node/typescript/index.ts:493](https://github.com/slint-ui/slint/blob/master/api/node/typescript/index.ts#L493)

If set to true, no warning is printed while loading.

***

### style?

> `optional` **style?**: `string`

Defined in: [api/node/typescript/index.ts:498](https://github.com/slint-ui/slint/blob/master/api/node/typescript/index.ts#L498)

Sets the widget style the compiler is currently using when compiling .slint files.