mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-10-09 09:59:45 +07:00
node_modules: update (#332)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
1 parent
c1dac70e3a
commit
6bf0a2f26a
95 files changed
+1102
-503
No files matched your search
+10
-1
@@ -13,7 +13,7 @@ export interface MessageParserHeaderLine {
|
||||
* from the rest of the body. Headers are emitted with the 'headers' event. Message
|
||||
* body is passed on as the resulting stream.
|
||||
*/
|
||||
export default class MessageParser extends Transform {
|
||||
declare class MessageParser extends Transform {
|
||||
lastBytes: Buffer;
|
||||
headersParsed: boolean;
|
||||
headerBytes: number;
|
||||
@@ -37,3 +37,12 @@ export default class MessageParser extends Transform {
|
||||
checkHeaders(data: Buffer): boolean;
|
||||
parseHeaders(): MessageParserHeaderLine[];
|
||||
}
|
||||
/**
|
||||
* Type aliases in the layout of @types/nodemailer, so `MessageParser.Header` style references keep working
|
||||
*/
|
||||
declare namespace MessageParser {
|
||||
type Header = MessageParserHeaderLine;
|
||||
}
|
||||
/** The same alias as a module level export, for `import * as MessageParser` and `import MessageParser = require()` */
|
||||
export type { MessageParserHeaderLine as Header };
|
||||
export default MessageParser;
|
||||
Reference in new issue
Block a user