@types/wordpress__block-library
TypeScript icon, indicating that this package has built-in type declarations

2.6.3 • Public • Published

Installation

npm install --save @types/wordpress__block-library

Summary

This package contains type definitions for @wordpress/block-library (https://github.com/WordPress/gutenberg/tree/master/packages/block-library/README.md).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__block-library.

index.d.ts

/**
 * Function to register core blocks provided by the block editor.
 *
 * @example
 * ```js
 * import { registerCoreBlocks } from '@wordpress/block-library';
 *
 * registerCoreBlocks();
 * ```
 */
export function registerCoreBlocks(): void;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Derek Sifford.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/wordpress__block-library

Weekly Downloads

7,670

Version

2.6.3

License

MIT

Unpacked Size

3.19 kB

Total Files

5

Last publish

Collaborators

  • types