mirror of
https://github.com/facebook/lexical.git
synced 2025-05-20 00:26:38 +08:00
[lexical-react] Breaking change: Deprecate public default exports (#6088)
This commit is contained in:
@ -23,7 +23,7 @@ const BLOCK_REGEX =
|
||||
|
||||
function flowTemplate(wwwName) {
|
||||
return (
|
||||
headerTemplate.replace(/^( *\/)$/, '* @flow strict\n$1') +
|
||||
headerTemplate.replace(/^( \*\/)$/m, '* @flow strict\n$1') +
|
||||
`
|
||||
/**
|
||||
* ${wwwName}
|
||||
|
Reference in New Issue
Block a user