🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
34
node_modules/micromark/stream.d.ts
generated
vendored
Normal file
34
node_modules/micromark/stream.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/**
|
||||
* Create a duplex (readable and writable) stream.
|
||||
*
|
||||
* Some of the work to parse markdown can be done streaming, but in the
|
||||
* end buffering is required.
|
||||
*
|
||||
* micromark does not handle errors for you, so you must handle errors on whatever
|
||||
* streams you pipe into it.
|
||||
* As markdown does not know errors, `micromark` itself does not emit errors.
|
||||
*
|
||||
* @param {Options | null | undefined} [options]
|
||||
* Configuration (optional).
|
||||
* @returns {MinimalDuplex}
|
||||
* Duplex stream.
|
||||
*/
|
||||
export function stream(options?: Options | null | undefined): MinimalDuplex
|
||||
export type Options = import('micromark-util-types').Options
|
||||
export type Value = import('micromark-util-types').Value
|
||||
export type Encoding = import('micromark-util-types').Encoding
|
||||
/**
|
||||
* Function called when write was successful.
|
||||
*/
|
||||
export type Callback = () => void
|
||||
export type MinimalDuplex = Omit<
|
||||
NodeJS.ReadableStream & NodeJS.WritableStream,
|
||||
| 'isPaused'
|
||||
| 'pause'
|
||||
| 'read'
|
||||
| 'resume'
|
||||
| 'setEncoding'
|
||||
| 'unpipe'
|
||||
| 'unshift'
|
||||
| 'wrap'
|
||||
>
|
||||
Loading…
Add table
Add a link
Reference in a new issue