pub struct TsConfig { /* private fields */ }Expand description
Partial tsconfig.json metadata.
Implementations§
Source§impl TsConfig
impl TsConfig
Sourcepub fn with_extends(self, extends: TsConfigExtends) -> Self
pub fn with_extends(self, extends: TsConfigExtends) -> Self
Sets the extends metadata.
Sourcepub fn with_compiler_options(self, compiler_options: CompilerOptions) -> Self
pub fn with_compiler_options(self, compiler_options: CompilerOptions) -> Self
Sets compiler options metadata.
Sourcepub fn with_include(self, include: TsConfigInclude) -> Self
pub fn with_include(self, include: TsConfigInclude) -> Self
Adds an include pattern.
Sourcepub fn with_exclude(self, exclude: TsConfigExclude) -> Self
pub fn with_exclude(self, exclude: TsConfigExclude) -> Self
Adds an exclude pattern.
Sourcepub const fn extends(&self) -> Option<&TsConfigExtends>
pub const fn extends(&self) -> Option<&TsConfigExtends>
Returns extends metadata.
Sourcepub const fn compiler_options(&self) -> &CompilerOptions
pub const fn compiler_options(&self) -> &CompilerOptions
Returns compiler options metadata.
Sourcepub fn include(&self) -> &[TsConfigInclude]
pub fn include(&self) -> &[TsConfigInclude]
Returns include patterns.
Sourcepub fn exclude(&self) -> &[TsConfigExclude]
pub fn exclude(&self) -> &[TsConfigExclude]
Returns exclude patterns.
Trait Implementations§
impl Eq for TsConfig
impl StructuralPartialEq for TsConfig
Auto Trait Implementations§
impl Freeze for TsConfig
impl RefUnwindSafe for TsConfig
impl Send for TsConfig
impl Sync for TsConfig
impl Unpin for TsConfig
impl UnsafeUnpin for TsConfig
impl UnwindSafe for TsConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more