Trait stc_ts_type_checker::loader::LoadFile
source · [−]pub trait LoadFile: 'static + Send + Sync {
fn load_file(
&self,
cm: &Arc<SourceMap>,
filename: &Arc<FileName>
) -> Result<(Arc<SourceFile>, Syntax)>;
}
Expand description
NOTE: FileName::Custom is not passed to this type.