Interface SerializedFunction

SerializeFunction is a representation of a serialized JavaScript function.

interface SerializedFunction {
    containsSecrets: boolean;
    exportName: string;
    text: string;
}

Properties

containsSecrets: boolean

True if the serialized function text includes serialization of secret

exportName: string

The name of the exported module member.

text: string

The text of a JavaScript module which exports a single name bound to an appropriate value. In the case of a normal function, this value will just be serialized function. In the case of a factory function this value will be the result of invoking the factory function.

Generated using TypeDoc