pub type SelfTranslationSignature = External;Expand description
The signature of an exported item of a JavaScript or TypeScript module.
It binds the name a module that imports it uses: a function’s parameters and result, or a constant’s type and whether a literal gives its value.
Aliased Type§
pub enum SelfTranslationSignature {
Function {
name: String,
params: Vec<ExternalParam>,
ret: Type,
},
Constant {
name: String,
ty: Type,
literal: bool,
},
}