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.