LoadFileOptions
Defined in: api/node/typescript/index.ts:233 ↗
LoadFileOptions are used to defines different optional parameters that can be used to configure the compiler.
Properties
Section titled “Properties”includePaths?
Section titled “includePaths?”
optionalincludePaths?:string[]
Defined in: api/node/typescript/index.ts:247 ↗
Sets the include paths used for looking up .slint imports to the specified vector of paths.
libraryPaths?
Section titled “libraryPaths?”
optionallibraryPaths?:Record<string,string>
Defined in: api/node/typescript/index.ts:252 ↗
Sets library paths used for looking up @library imports to the specified map of library names to paths.
quiet?
Section titled “quiet?”
optionalquiet?:boolean
Defined in: api/node/typescript/index.ts:237 ↗
If set to true warnings from the compiler will not be printed to the console.
style?
Section titled “style?”
optionalstyle?:string
Defined in: api/node/typescript/index.ts:242 ↗
Sets the widget style the compiler is currently using when compiling .slint files.
© 2026 SixtyFPS GmbH