docusaurus/packages/docusaurus-plugin-content-p.../types.d.ts
Sébastien Lorber 553f914639
feat: TypeScript presets/plugins should expose Options typing (#5456)
* each TS plugin should export option types + preset export option / themeConfig types + remove TS typechecking for the bootstrap theme

* each TS plugin should export option types + preset export option / themeConfig types + remove TS typechecking for the bootstrap theme

* fix remaining TS errors

* fix remaining TS errors

* TS fix

* Add JSDoc type annotations to init templates and TS docs

* missing title char
2021-09-01 12:14:40 +02:00

15 lines
413 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.
*/
// TODO legacy, this does not seem like a good place to add those TS types!
declare module 'remark-admonitions' {
type Options = Record<string, unknown>;
const plugin: (options?: Options) => void;
export = plugin;
}