pub struct ProjectReferenceSerde {
pub path: PathBuf,
pub tsconfig: Option<Arc<TsConfigSerde>>,
}Available on crate feature
fs_cache only.Expand description
Project Reference
https://www.typescriptlang.org/docs/handbook/project-references.html
Fields§
§path: PathBuf§tsconfig: Option<Arc<TsConfigSerde>>Trait Implementations§
Source§impl Debug for ProjectReferenceSerde
impl Debug for ProjectReferenceSerde
Source§impl<'de> Deserialize<'de> for ProjectReferenceSerde
impl<'de> Deserialize<'de> for ProjectReferenceSerde
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ProjectReference for ProjectReferenceSerde
impl ProjectReference for ProjectReferenceSerde
type Tc = TsConfigSerde
Source§fn path(&self) -> &Path
fn path(&self) -> &Path
Returns the path to a directory containing a
tsconfig.json file, or to
the config file itself (which may have any name).Source§fn tsconfig(&self) -> Option<Arc<Self::Tc>>
fn tsconfig(&self) -> Option<Arc<Self::Tc>>
Returns the resolved tsconfig, if one has been set.
Source§fn set_tsconfig(&mut self, tsconfig: Arc<Self::Tc>)
fn set_tsconfig(&mut self, tsconfig: Arc<Self::Tc>)
Sets the resolved tsconfig.
Auto Trait Implementations§
impl Freeze for ProjectReferenceSerde
impl RefUnwindSafe for ProjectReferenceSerde
impl Send for ProjectReferenceSerde
impl Sync for ProjectReferenceSerde
impl Unpin for ProjectReferenceSerde
impl UnwindSafe for ProjectReferenceSerde
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