refactor: Use named exports instead of default exports (#2238)
* use named exports instead of default exports * fix tests Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
This commit is contained in:
@@ -12,7 +12,7 @@ type AutolinkOptions = {
|
||||
type: MarkType,
|
||||
}
|
||||
|
||||
export default function autolink(options: AutolinkOptions): Plugin {
|
||||
export function autolink(options: AutolinkOptions): Plugin {
|
||||
return new Plugin({
|
||||
key: new PluginKey('autolink'),
|
||||
appendTransaction: (transactions, oldState, newState) => {
|
||||
|
||||
Reference in New Issue
Block a user