mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-31 07:32:53 +00:00
* refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type * fix
20 lines
638 B
TypeScript
20 lines
638 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
declare module '@philpl/buble' {
|
|
import type {TransformOptions as OriginalTransformOptions} from 'buble';
|
|
// eslint-disable-next-line import/no-extraneous-dependencies, no-restricted-syntax
|
|
export * from 'buble';
|
|
export const features: string[];
|
|
export type TransformOptions = OriginalTransformOptions & {
|
|
transforms?: OriginalTransformOptions['transforms'] & {
|
|
asyncAwait?: boolean;
|
|
getterSetter?: boolean;
|
|
};
|
|
};
|
|
}
|