Skip to content

LoadFileOptions

Defined in: api/node/typescript/index.ts:247

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

optional includePaths?: string[]

Defined in: api/node/typescript/index.ts:261

Sets the include paths used for looking up .slint imports to the specified vector of paths.


optional libraryPaths?: Record<string, string>

Defined in: api/node/typescript/index.ts:266

Sets library paths used for looking up @library imports to the specified map of library names to paths.


optional quiet?: boolean

Defined in: api/node/typescript/index.ts:251

If set to true warnings from the compiler will not be printed to the console.


optional style?: string

Defined in: api/node/typescript/index.ts:256

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


© 2026 SixtyFPS GmbH